Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
topahadzi committed Oct 27, 2023
1 parent 33a36d3 commit f175029
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f175029

Please sign in to comment.