PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, August 13, 2022

[FIXED] Why I do not see any nodes in kubernetes cluster with role master or worker?

 August 13, 2022     kubernetes, kubernetes-ingress, kubernetes-setup, nginx-ingress     No comments   

Issue

I did kubeadm init on one machine. I followed all the instructions on network etc and end up with this:

kubectl get nodes:

NAME              STATUS   ROLES           AGE    VERSION
slchvdvcybld001   Ready    control-plane   140m   v1.24.2
slchvdvcydtb001   Ready    <none>          136m   v1.24.2
slchvdvcytst001   Ready    <none>          137m   v1.24.2

As you can see, no nodes are Master or worker or similar.

I don't have some special setup, all I did is install it and did init.

There are no errors in logs file. Dashboard is in GREEN and everything is in green.

These are versions of kubectl and so on:

Client Version: v1.24.2
Kustomize Version: v4.5.4
Server Version: v1.24.2

Solution

Labelling of master node is deprecated. That's where when using kubectl get nodes its showing role as "control-plane" instead of "control-plane,master"

More details are in following link Kubeadm: http://git.k8s.io/enhancements/keps/sig-cluster-lifecycle/kubeadm/2067-rename-master-label-taint/README.md



Answered By - Nataraj Medayhal
Answer Checked By - David Marino (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing