Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we run kubectl form worker/minion node?

Tags:

kubernetes

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?

like image 725
Madhurima Mishra Avatar asked Mar 18 '16 07:03

Madhurima Mishra


1 Answers

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.

like image 146
Robert Bailey Avatar answered Sep 20 '22 07:09

Robert Bailey