Commit ab1c625e authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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.
parents 10a6b227 5e0520a4
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment