A Kubernetes cluster has just been setup. Which of the following command could be used to get the status of the nodes in the cluster?
Answer options:
A.az aks get nodes
B.kubectl get nodes
C.az get nodes
D.docker get nodes
Answer correct:
Answer – B
This can be down with the help of the “kubectl” command.
This is also given in the Microsoft documentation.
Since this is clearly given in the Microsoft documentation, all other options are incorrect.
For more information on creating and working with Kubernetes clusters, please visit the below URL-