64e6614680
Also updated CKA page.
597 B
597 B
Taints 101
Objectives
- Check if one of the nodes in the cluster has taints (doesn't matter which node)
- Create a taint on one of the nodes in your cluster with key of "app" and value of "web" and effect of "NoSchedule"
- Explain what it does exactly
- Verify it was applied
Solution
Click here to view the solution.
kubectl describe no minikube | grep -i taints
kubectl taint node minikube app=web:NoSchedule
- Any resource with "app=web" key value will not be scheduled on node
minikube
kubectl describe no minikube | grep -i taints
- Any resource with "app=web" key value will not be scheduled on node