KubernetesCommand
List Config Contexts
Type this command
kubectl config get-contextsLists every context configured in your kubeconfig.
The Kubernetes command to list config contexts is kubectl config get-contexts.
kubectl config get-contextskubectl config get-contextsLists every context configured in your kubeconfig.
Run kubectl config get-contexts.
Run kubectl config get-contexts.
Type it in the terminal or command-line interface used by Kubernetes.
Yes. The command text is the same on both platforms when the tool is installed.