Skip to content

Commit 5bc430e

Browse files
authored
Merge pull request #8235 from mtrqq/dra-delta-snapshot
[DRA] Enable DeltaSnapshotStore to work when DRA is enabled
2 parents 134d636 + 6132809 commit 5bc430e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cluster-autoscaler/main.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@ func buildAutoscaler(context ctx.Context, debuggingSnapshotter debuggingsnapshot
118118
drainabilityRules := rules.Default(deleteOptions)
119119

120120
var snapshotStore clustersnapshot.ClusterSnapshotStore = store.NewDeltaSnapshotStore(autoscalingOptions.ClusterSnapshotParallelism)
121-
if autoscalingOptions.DynamicResourceAllocationEnabled {
122-
// TODO(DRA): Remove this once DeltaSnapshotStore is integrated with DRA.
123-
klog.Warningf("Using BasicSnapshotStore instead of DeltaSnapshotStore because DRA is enabled. Autoscaling performance/scalability might be decreased.")
124-
snapshotStore = store.NewBasicSnapshotStore()
125-
}
126-
127121
opts := core.AutoscalerOptions{
128122
AutoscalingOptions: autoscalingOptions,
129123
FrameworkHandle: fwHandle,

0 commit comments

Comments
 (0)