Skip to content

Commit

Permalink
UPSTREAM:<carry>: Avoid checking controller references while draining (
Browse files Browse the repository at this point in the history
  • Loading branch information
hardikdr authored and prashanth26 committed May 7, 2020
1 parent e44fa5e commit c95bba3
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 c95bba3

Please sign in to comment.