kelseyhightower / kubernetes-the-hard-way

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

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

Open satizzzzz opened 4 months ago

satizzzzz commented 4 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 2 months ago

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