kelseyhightower / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way. No scripts.
Apache License 2.0
41.26k stars 14.12k forks source link

kubectl get nodes lists only the worker nodes. How can i add control plane to it? #764

Open satizzzzz opened 8 months ago

satizzzzz commented 8 months ago

While running kubectl get nodes --kubeconfig admin.kubeconfig , i could see 2 of worker nodes.

NAME STATUS ROLES AGE VERSION node01 Ready 11m v1.28.0 node02 Ready 35s v1.28.0

How can add control plane to it?

rumeshmadhusanka commented 7 months ago

Unlike Kuberadm, here the control plane is not in a k8s node.