Skip to content

Commit ca53566

Browse files
Fix autoscaler test
1 parent 376d30b commit ca53566

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/e2e/data/autoscaler/autoscaler-to-workload-workload.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ spec:
194194
- --scale-down-delay-after-delete=1m
195195
# Set a short scale down delay after failure time, so we don't have to wait too long during e2e testing
196196
- --scale-down-delay-after-failure=1m
197+
# Disable special handling for pods in kube-system to prevent flakes when one of the core-dns pod is scheduled
198+
# on one of the MachineDeployment machines and the test is trying to scale down to zero.
199+
- --skip-nodes-with-system-pods=false
197200
# Set a max nodes limit as safeguard so that the test does not scale up unbounded.
198201
# Note: The E2E test should only go up to 4 (assuming it starts with a min node group size of 2).
199202
# Using 6 for additional some buffer and to allow different starting min node group sizes.

0 commit comments

Comments
 (0)