@kubernetes/sig-cli-feature-requests
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
worked with v1.9.0:
kubectl config get-contexts
kubectl config set-context --cluster --user
kubectl config delete-context
kubectl config use-context
this may be kind of old, but for future readers, check out kubectx.
after installing you can simply run -
kubectx <NEW_NAME>=. : rename current-context to <NEW_NAME>
this has been added!
ref: kubectl-commands#-em-rename-context
Rename the context 'old-name' to 'new-name' in your kubeconfig file
kubectl config rename-context old-name new-name
this has been added!
ref: kubectl-commands#-em-rename-contextRename the context 'old-name' to 'new-name' in your kubeconfig file
kubectl config rename-context old-name new-name
Does this let you rename the cluster name?
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Does this let you rename the cluster name?
Yes, it does, try it out :)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are on a team that was mentioned.