Created
September 7, 2022 15:44
-
-
Save alperen-selcuk/ee41f16fa2a264a850b8001fb21c860a to your computer and use it in GitHub Desktop.
cka questions taint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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