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
1 |
Log in as the root user on the NSP cluster host. |
2 |
Open a console window. |
3 |
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 |
4 |
View the ROLES entries to identify the master node. |
5 |
Close the console window. End of steps |