mirror of
https://github.com/bregman-arie/devops-exercises.git
synced 2026-02-04 23:59:11 +00:00
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 taintskubectl 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