From 741eb43f4f8146a70ea5812c0aecd8b3959fcda7 Mon Sep 17 00:00:00 2001 From: topahadzi Date: Mon, 30 Oct 2023 13:41:34 +0700 Subject: [PATCH] reboot with 3 minutes --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 06a4aee..c2693e2 100755 --- a/test.sh +++ b/test.sh @@ -18,5 +18,5 @@ for NODE_NAME in $NODE_NAMES; do kubectl config set-context default --cluster kubernetes --user=sa kubectl config use-context default echo "Running command on node: $NODE_NAME" - kubectl node_shell $NODE_NAME -- reboot + kubectl node_shell $NODE_NAME -- shutdown -r +3 done