Add a taint to a node:
kubectl tain node node01 spray=mortein:NoSchedule
kubectl describe node node01|grep -i taint
spray=mortein:NoSchedule
Create a pod that can handle a NoSchedule Taint for Key: Spray = mortien
apiVersion: v1
kind: Pod
metadata:
labels:
run: bee
spec:
containers:
- name: bee
image: nginx
tolerations:
- effect: NoSchedule
key: spray
operator: Equal
value: mortien