Xavier Xie:
Hey guys, could someone help me spot the error in my yaml file. this is for the questions 3 in the lightning lab 2
Basavraj Nilkanthe:
@Xavier Xie you need to consider taint and toleration scenario here… As by default master node is enabled with taint…
Basavraj Nilkanthe:
use below command to check what taint applied on master node and applying corresponding toleration on my-busybox pod
Basavraj Nilkanthe:
kubectl describe nodes controlplane | grep -i taint
Basavraj Nilkanthe:
tolerations:
- key: "key1"
operator: "Exists"
effect: "NoSchedule"
Basavraj Nilkanthe:
refer above docs
Basavraj Nilkanthe:
to get clarity on this
Xavier Xie:
thanks
Basavraj Nilkanthe:
kubectl describe pod my-busybox-- would have given you hint why pod is not coming up
Xavier Xie:
thanks