VMware Tanzu Kubernetes Grid Integrated Edition

 How do I find the "Master Node"?

DEREK YEO's profile image
DEREK YEO posted Nov 14, 2019 08:32 AM

Hi everyone,

 

When i run "kubectl get nodes" i only see the worker nodes but how can i find the master nodes? TQ

Attachment  View in library
pks.JPG 187 KB
Alexis Villalon's profile image
Broadcom Employee Alexis Villalon

Hey @DEREK YEO​ ,

 

To see a a list of all the cluster VM's including the master, you'll have to use the bosh cli. This guide might help:

https://docs.pivotal.io/pks/1-5/verify-health.html#k8s

 

In a PKS cluster, the master(s) is not listed when you run `kubectl get nodes` because it is not running the `kubelet` process.

DEREK YEO's profile image
DEREK YEO

OKay understood. Thanks Alexis.