Hey guys, could someone help me spot the error in my yaml file. this is for the . . .

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
image.png

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:
https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/

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