Difference between revisions of "Kubectl config rename-context"
Jump to navigation
Jump to search
(Created page with " kubectl config rename-context") |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
[[kubectl config]] rename-context | [[kubectl config]] rename-context | ||
+ | [[kubectl config]] rename-context [[your-cluster-name]] your-new-name | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kubectl config get-contexts]]</code> | ||
+ | * AWS: <code>[[aws eks update-kubeconfig]] --name my-eks-cluster-name</code> | ||
+ | * GCP: <code>[[gcloud container clusters get-credentials]] [[MyClusterName]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{kubectl config}} | ||
+ | |||
+ | [[Category:Kubernetes]] |
Latest revision as of 06:14, 30 November 2022
kubectl config rename-context kubectl config rename-context your-cluster-name your-new-name
Related[edit]
kubectl config get-contexts
- AWS:
aws eks update-kubeconfig --name my-eks-cluster-name
- GCP:
gcloud container clusters get-credentials MyClusterName
See also[edit]
Advertising: