Home > other >  Docker kubernetes master, node node server startup success, but getnods order out
Docker kubernetes master, node node server startup success, but getnods order out

Time:09-21







Start is no problem, use kubectl -s http://centos-master:8091 get nodes can access to the node list
But using kubectl get nodes cannot retrieve node list

Deployment kubernetes dashboard launch successful, access to the master server address page has been waiting for a response

CodePudding user response:


I'm sorry, personal ability is limited, can't help you,

By the way, why this is similar to the knowledge of Linux system plates, personally, I don't understand, the system has been prompt me, someone invited me to reply to this post?

Every time someone invited, I can't answer, is really old embarrassed!



CodePudding user response:


Kubectl config set - cluster default - cluster - server=http://centos-master:8091
Kubectl config set - the context default - the context - cluster=default - cluster - user=default - admin
Kubectl config to the context default - the context

CodePudding user response:

The firewall Settings
  • Related