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