Merge pull request #47958 from MaciekPytel/fix_autoscaler_flaky_e2e_4

Automatic merge from submit-queue

Add more pdbs in autoscaling e2e to reduce flakiness

Ref: https://github.com/kubernetes/autoscaler/issues/89
There are still too many system pods without PDB that can spread all over nodes and cause scale-down tests to randomly fail, adding PDB for kubernetes-dashboard in test to help with that.
This commit is contained in:
Kubernetes Submit Queue 2017-06-23 06:58:14 -07:00 committed by GitHub
commit ab1c625e2a

View File

@ -1144,6 +1144,7 @@ func addKubeSystemPdbs(f *framework.Framework) (func(), error) {
{label: "kube-dns-autoscaler", min_available: 1},
{label: "kube-dns", min_available: 1},
{label: "event-exporter", min_available: 0},
{label: "kubernetes-dashboard", min_available: 0},
}
for _, pdbData := range pdbsToAdd {
By(fmt.Sprintf("Create PodDisruptionBudget for %v", pdbData.label))