Skip to content

Instantly share code, notes, and snippets.

@origox
Last active September 17, 2022 12:24
Show Gist options
  • Save origox/3ffe4aa3c345ee78ff38b3ee93ddac7c to your computer and use it in GitHub Desktop.
Save origox/3ffe4aa3c345ee78ff38b3ee93ddac7c to your computer and use it in GitHub Desktop.
Kubernetes Cheat Sheet

Kubernetes Taints & Tolerations

Set Taints

kubectl taint nodes <node name> <taint key>=<taint value>:<taint effect>

List Taints

kubectl get nodes -o=custom-columns=NodeName:.metadata.name,TaintKey:.spec.taints[*].key,TaintValue:.spec.taints[*].value,TaintEffect:.spec.taints[*].effect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment