Procedure

You can use the scp command to safely copy the master node configurations from the /etc/kubernetes/kube.conf file on the master virtual machine of the Kubernetes cluster to the $HOME/.kube/config file (where thekubectl expected credentials reside) of the local computer.

If you select Password in the Login field when creating the cluster, copy the kubectl configuration file in the following method: