Skip to content

Instantly share code, notes, and snippets.

@alperen-selcuk
Created September 7, 2022 15:44
Show Gist options
  • Save alperen-selcuk/ee41f16fa2a264a850b8001fb21c860a to your computer and use it in GitHub Desktop.
Save alperen-selcuk/ee41f16fa2a264a850b8001fb21c860a to your computer and use it in GitHub Desktop.
cka questions taint
## first taint on node##
## kubectl taint nodes node01 pod=allow:NoSchedule
apiVersion: v1
kind: Pod
metadata:
labels:
run: nginx
name: nginx
spec:
containers:
- image: nginx
name: nginx
tolerations:
- key: "pod"
operetor: "Equal"
value: "allow"
effect: "NoSchedule"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment