Reputation: 1083
I have my kubernetes cluster setup and I want to check for the nodes from worker/minion node, can we run kubectl form worker/minion node?
Upvotes: 8
Views: 11549
Reputation: 18230
Yes, you just need to have the proper client credentials and you can run kubectl from anywhere that has network access to the apiserver. See Sharing Cluster Access with kubeconfig for the instructions to get a kubeconfig
file onto your worker node.
Upvotes: 9