Difference between revisions of "Kubectl config"
Jump to navigation
Jump to search
(→Errors) |
|||
Line 19: | Line 19: | ||
== Errors == | == Errors == | ||
* <code>[[error: You must be logged in to the server (Unauthorized)]]</code> | * <code>[[error: You must be logged in to the server (Unauthorized)]]</code> | ||
+ | |||
+ | == Activites == | ||
+ | * [[Merge multiple kubeconfigs]] | ||
+ | * [[Creating or updating a kubeconfig file for an Amazon EKS cluster]] <code>[[aws eks update-kubeconfig]]</code> | ||
== Related == | == Related == |
Revision as of 09:09, 18 January 2024
kubectl config
kubectl config view
kubectl config get-clusters
kubectl config get-users
kubectl config get-contexts
kubectl config rename-context
kubectl config use-context
kubectl config set-context
kubectl config current-context
kubectl config set-credentials
kubectl config --help
Contents
Errors
Activites
- Merge multiple kubeconfigs
- Creating or updating a kubeconfig file for an Amazon EKS cluster
aws eks update-kubeconfig
Related
kubeadm config
~/.kube/config
kind: Config
aws eks update-kubeconfig --name my-eks-cluster-name
gcloud container clusters get-credentials
kubectx
See also
- Kubernetes context:
kubectl config [ get-contexts | set-context | current-context | use-context ]
,~/.kube/config, kubectx
kubectl config
[view | get-contexts | current-context | get-clusters | set-context | set-credentials ], ~/.kube/config, kubectl config --help
,kubectx
, Kubernetes contexts,KUBECONFIG, kubectl --kubeconfig
- Kubernetes info:
kubectl config view, kubectl cluster-info dump
Advertising: