CmdID / kubectl / kubectl config
kubectl config set-context
Set a context entry in kubeconfig kubectl reference
5 options Its page in the kubectl reference
Options
--clustercluster for the context entry in kubeconfig--currentModify the current context--help, -hhelp for set-context--namespace, -nnamespace for the context entry in kubeconfig--useruser for the context entry in kubeconfig