Skip to content

Commit

Permalink
Merge pull request #3050 from towca/jtuznik/delta-snapshot
Browse files Browse the repository at this point in the history
Scalability: Switch to deltaClusterSnapshot
  • Loading branch information
k8s-ci-robot authored Apr 17, 2020
2 parents 87eae1d + c65a6bb commit fdbe28e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster-autoscaler/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import (
"k8s.io/autoscaler/cluster-autoscaler/metrics"
ca_processors "k8s.io/autoscaler/cluster-autoscaler/processors"
"k8s.io/autoscaler/cluster-autoscaler/processors/nodegroupset"
"k8s.io/autoscaler/cluster-autoscaler/simulator"
"k8s.io/autoscaler/cluster-autoscaler/utils/errors"
kube_util "k8s.io/autoscaler/cluster-autoscaler/utils/kubernetes"
"k8s.io/autoscaler/cluster-autoscaler/utils/units"
Expand Down Expand Up @@ -293,6 +294,7 @@ func buildAutoscaler() (core.Autoscaler, error) {

opts := core.AutoscalerOptions{
AutoscalingOptions: autoscalingOptions,
ClusterSnapshot: simulator.NewDeltaClusterSnapshot(),
KubeClient: kubeClient,
EventsKubeClient: eventsKubeClient,
}
Expand Down

0 comments on commit fdbe28e

Please sign in to comment.