Skip to content

Instantly share code, notes, and snippets.

@patmigliaccio
Created October 29, 2019 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patmigliaccio/d4dc002bea23e35c937061c8e2eb4811 to your computer and use it in GitHub Desktop.
Save patmigliaccio/d4dc002bea23e35c937061c8e2eb4811 to your computer and use it in GitHub Desktop.
patmigliaccio.com/lessons-ml-gcp 10/29/19
for node in $(kubectl get nodes -l cloud.google.com/gke-nodepool=default-pool -o=name); do
kubectl cordon "$node";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment