QuestionQ20

VerifiedSection 5 - Troubleshoot and optimize the VMware Solution

A platform operator executes a kubectl command and gets the error: “Couldn’t get current server API list”.

Which command resolves the error?

Explanation

kubectl vsphere login authenticates the operator to the vSphere Supervisor cluster and refreshes the Kubernetes context and credentials used by kubectl to reach the API server. Switching or viewing an existing kubeconfig context does not renew authentication, and opening a VM web console is unrelated to Kubernetes API access.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!