Madhurima Mishra
Madhurima Mishra

Reputation: 1083

Can we run kubectl form worker/minion node?

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

Answers (1)

Robert Bailey
Robert Bailey

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

Related Questions