From 61328095aed3e7910508ef45d30207282cfb7c9b Mon Sep 17 00:00:00 2001
From: Maksym Fuhol <mfuhol@google.com>
Date: Wed, 11 Jun 2025 08:29:53 +0000
Subject: [PATCH] Enable DeltaSnapshotStore to work when DRA is enabled

---
 cluster-autoscaler/main.go | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/cluster-autoscaler/main.go b/cluster-autoscaler/main.go
index 2c1272525b..7d090a7416 100644
--- a/cluster-autoscaler/main.go
+++ b/cluster-autoscaler/main.go
@@ -118,12 +118,6 @@ func buildAutoscaler(context ctx.Context, debuggingSnapshotter debuggingsnapshot
 	drainabilityRules := rules.Default(deleteOptions)
 
 	var snapshotStore clustersnapshot.ClusterSnapshotStore = store.NewDeltaSnapshotStore(autoscalingOptions.ClusterSnapshotParallelism)
-	if autoscalingOptions.DynamicResourceAllocationEnabled {
-		// TODO(DRA): Remove this once DeltaSnapshotStore is integrated with DRA.
-		klog.Warningf("Using BasicSnapshotStore instead of DeltaSnapshotStore because DRA is enabled. Autoscaling performance/scalability might be decreased.")
-		snapshotStore = store.NewBasicSnapshotStore()
-	}
-
 	opts := core.AutoscalerOptions{
 		AutoscalingOptions:   autoscalingOptions,
 		FrameworkHandle:      fwHandle,
-- 
GitLab