Skip to content

Commit

Permalink
Merge pull request #45 from prashanth26/hotfix
Browse files Browse the repository at this point in the history
UPSTREAM:<carry>: Avoid checking controller references while draining…
  • Loading branch information
prashanth26 committed May 7, 2020
2 parents e44fa5e + c95bba3 commit 3cbe506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster-autoscaler/simulator/drain.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import (
"fmt"
"time"

"github.com/gardener/autoscaler/cluster-autoscaler/utils/drain"
apiv1 "k8s.io/api/core/v1"
policyv1 "k8s.io/api/policy/v1beta1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
"github.com/gardener/autoscaler/cluster-autoscaler/utils/drain"
client "k8s.io/client-go/kubernetes"
schedulercache "k8s.io/kubernetes/pkg/scheduler/cache"
)
Expand Down Expand Up @@ -70,7 +70,7 @@ func DetailedGetPodsForMove(nodeInfo *schedulercache.NodeInfo, skipNodesWithSyst
false,
skipNodesWithSystemPods,
skipNodesWithLocalStorage,
true,
false, // TODO: Revendor the clients.
client,
minReplicaCount,
time.Now())
Expand Down

0 comments on commit 3cbe506

Please sign in to comment.