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,570 points

edited Aug 30, 2018 by Vardhan 2,014 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
• 52,360 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
• 7,050 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,190 points
946 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
• 59,230 points
472 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
• 59,230 points
3,263 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
495 views
+1 vote
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
14,607 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 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 6,090 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 21, 2019 in Kubernetes by sudhams reddy duba
6,643 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP