Skip to content

Instantly share code, notes, and snippets.

@misskecupbung
Created October 6, 2022 14:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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