Skip to content

Commit

Permalink
reboot with 3 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
topahadzi committed Oct 30, 2023
1 parent 7ce2ac5 commit 741eb43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 741eb43

Please sign in to comment.