Merge pull request #52904 from aleksandra-malinowska/autoscaling-test-fix-6

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..

In autoscaling tests, improve setting pdbs for kube-system pods

This fixes selector for l7-default-backend pod and removes Heapster's PDB (it's harmless but pointless as CA won't be able to evict it due to other constraints).
pull/6/head
Kubernetes Submit Queue 2017-09-22 04:19:43 -07:00 committed by GitHub
commit a7ec5cb650
1 changed files with 1 additions and 2 deletions

View File

@ -1480,8 +1480,7 @@ func addKubeSystemPdbs(f *framework.Framework) (func(), error) {
{label: "kube-dns-autoscaler", min_available: 0},
{label: "metrics-server", min_available: 0},
{label: "kubernetes-dashboard", min_available: 0},
{label: "l7-default-backend", min_available: 0},
{label: "heapster", min_available: 0},
{label: "glbc", min_available: 0},
}
for _, pdbData := range pdbsToAdd {
By(fmt.Sprintf("Create PodDisruptionBudget for %v", pdbData.label))