Last updated：2021-05-11 10:41:36
You can use the Kubernetes command-line tool kubectl to connect to a Kubernetes cluster on Kingsoft Cloud from a local PC.
For more information about how to install kubectl, see Install Tools.
Download the configuration file of the cluster and copy the content of the configuration file to the \$HOME/.kube/config file on the local PC. The $HOME/.kube/config file is the default configuration file used by kubectl.
After the configuration is complete, you can use kubectl to connect to the cluster from the local PC and run cluster management commands. Example:
kubectl get node