How do I identify the master node in an NSP cluster?

Purpose

The following steps describe how to list the NSP cluster VMs and identify which has the master role.

Note: A leading # character in a command line represents the root user prompt, and is not to be included in a typed command.

Steps
 

Log in as the root user on the NSP cluster host.


Open a console window.


Enter the following:

kubectl get nodes -o wide ↵

A list of VMs like the following is displayed.

NAME    STATUS   ROLES    AGE   VERSION   INTERNAL-IP       EXTERNAL-IP   

node1   Ready    master   nd   version   int_IP   ext_IP

node2   Ready    <none>   nd   version   int_IP   ext_IP

node3   Ready    <none>   nd   version   int_IP   ext_IP


View the ROLES entries to identify the master node.


Close the console window.

End of steps