Skip to content

Instantly share code, notes, and snippets.

@misskecupbung
Created October 6, 2022 14:35
Show Gist options
  • Save misskecupbung/530e1d90070478eb4a181ceea153e1b2 to your computer and use it in GitHub Desktop.
Save misskecupbung/530e1d90070478eb4a181ceea153e1b2 to your computer and use it in GitHub Desktop.
NODE=$(kubectl get nodes -o wide | grep v1.22.12-gke.2300 | awk '{print $1}'
kubectl -n default cordon $NODE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment