Skip to content

Commit

Permalink
Fix flakey etcd test
Browse files Browse the repository at this point in the history
Taint the first node so that the helm job doesn't run on it. In a real cluster the helm job would eventually succeed once all the servers were upgraded and had the new chart tarball.

Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
brandond committed Oct 7, 2022
1 parent 31eb9a7 commit 84beabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test-run-etcd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ all_services=(
export NUM_SERVERS=2
export NUM_AGENTS=0
export WAIT_SERVICES="${all_services[@]}"
export SERVER_1_ARGS="--cluster-init"
export SERVER_1_ARGS="--cluster-init --node-taint=node-role.kubernetes.io/control-plane=effect:NoSchedule"

REPO=${REPO:-rancher}
IMAGE_NAME=${IMAGE_NAME:-k3s}
Expand Down

0 comments on commit 84beabd

Please sign in to comment.