The Status of nodes shown unknown

0 votes

The status of nodes is reported as unknown

"conditions": [
          {
            "type": "Ready",
            "status": "Unknown",
            "lastHeartbeatTime": "2015-11-12T06:03:19Z",
            "lastTransitionTime": "2015-11-12T06:04:03Z",
            "reason": "Kubelet stopped posting node status."
          }
Aug 30, 2018 in Kubernetes by Hannah
• 14,070 points

edited Aug 30, 2018 by Vardhan 217 views

2 answers to this question.

0 votes

Follow these steps:

Get nodes

kubectl get nodes

Describe node

kubectl describe node 192.168.1.157

You’ll probably get status of the node as unknown

Login in node and Restart kubelet

/etc/init.d/kubelet restart

Get nodes again

On the master:

kubectl get nodes
answered Aug 30, 2018 by Kalgi
• 40,440 points
0 votes

This worked for me

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

run as root:

systemctl enable kubectl
systemctl restart kubectl

answered Aug 30, 2018 by Nilesh
• 6,880 points

Related Questions In Kubernetes

–1 vote
1 answer
0 votes
1 answer

How to determine what is the status of a deployment ?

You could use kubectl get deployment <deployment>.  If ...READ MORE

answered Jul 12 in Kubernetes by Sirajul
• 25,420 points
37 views
0 votes
1 answer
0 votes
1 answer

How do I determine the status of a Deployment? - Kubernetes

Use kubectl get deployment <deployment>. If the ...READ MORE

answered Jul 25 in Kubernetes by Harsha
18 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
2,110 views
+3 votes
1 answer
+2 votes
5 answers
0 votes
3 answers

Change the schedule of Kubernetes cron job

kubectl patch <backup-cronjob> -p '{"spec":{"schedule": "0 0 ...READ MORE

answered Jun 20 in Kubernetes by sudhams reddy duba
370 views