From f1750296255c93216f9d732e9f14209412ef52d2 Mon Sep 17 00:00:00 2001 From: topahadzi Date: Fri, 27 Oct 2023 16:20:16 +0700 Subject: [PATCH] update --- test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test.sh b/test.sh index 4be4bf3..c3cf845 100755 --- a/test.sh +++ b/test.sh @@ -13,6 +13,8 @@ if [ -z "$NODE_NAMES" ]; then fi for NODE_NAME in $NODE_NAMES; do + kubectl config get-contexts + kubectl config use-context default echo "Running command on node: $NODE_NAME" kubectl node_shell $NODE_NAME -- reboot done