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
• 18,030 points

edited Aug 30, 2018 by Vardhan 997 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
• 51,830 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,960 points

Related Questions In Kubernetes

–1 vote
1 answer

order to apply kubernetes-dashboard ? before I join the worker nodes or after the join of the worker node ?

Not really. There are a few things ...READ MORE

answered Mar 18, 2019 in Kubernetes by Vardhan
• 13,160 points
86 views
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, 2019 in Kubernetes by Sirajul
• 50,330 points
60 views
0 votes
1 answer

what is the impact of uprading kubelet if we leave the pods on the worker nodes?

Restarting kubelet, which has to happen for ...READ MORE

answered Jul 18, 2019 in Kubernetes by Sirajul
• 50,330 points
50 views
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, 2019 in Kubernetes by Harsha
42 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, 2019 in Others by anonymous
5,507 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 51,830 points

reshown Apr 12, 2019 by Kalgi 1,507 views
+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, 2019 in Kubernetes by sudhams reddy duba
853 views