How to debug when Kubernetes nodes are in 'Not Ready' state

后端 未结 5 1960
青春惊慌失措
青春惊慌失措 2021-02-02 05:18

I initialized the master node and add 2 worker nodes, but only master and one of the worker node show up when I run the following command:

kubectl get nodes
         


        
5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-02 06:06

    I found applying the network and rebooting both the nodes did the trick for me.

    kubectl apply -f [podnetwork].yaml

提交回复
热议问题