danisla / kubefunc

Collection of handy kubernetes related helper scripts and bash functions.
88 stars 19 forks source link

Pod needs toleration to be able connect to master nodes #10

Open dmitrievav opened 4 years ago

dmitrievav commented 4 years ago
kubectl get pods node-admin
NAME         READY   STATUS    RESTARTS   AGE
node-admin   0/1     Pending   0          87s
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason            Age                From               Message
  ----     ------            ----               ----               -------
  Warning  FailedScheduling  11s (x3 over 94s)  default-scheduler  0/23 nodes are available: 1 node(s) had taints that the pod didn't tolerate, 22 node(s) didn't match node selector.