How to restart kubernetes nodes?

前端 未结 6 1937
予麋鹿
予麋鹿 2020-12-24 00:53

The status of nodes is reported as unknown

\"conditions\": [
          {
            \"type\": \"Ready\",
            \"status\": \"Unknown\",
          


        
6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 01:31

    I had this problem too but it looks like it depends on the Kubernetes offering and how everything was installed. In Azure, if you are using acs-engine install, you can find the shell script that is actually being run to provision it at:

    /opt/azure/containers/provision.sh
    

    To get a more fine-grained understanding, just read through it and run the commands that it specifies. For me, I had to run as root:

    systemctl enable kubectl
    systemctl restart kubectl
    

    I don't know if the enable is necessary and I can't say if these will work with your particular installation, but it definitely worked for me.

提交回复
热议问题