From d650645944218c59043646508af8556afed1127d Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Fri, 7 Oct 2022 20:04:34 +0000 Subject: [PATCH] Fix flakey etcd test 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 --- scripts/test-run-etcd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test-run-etcd b/scripts/test-run-etcd index 78fb649ddfe1..9a3a734a635e 100755 --- a/scripts/test-run-etcd +++ b/scripts/test-run-etcd @@ -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}