Difference between revisions of "Kubectl config"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
− | * <code>[[kubectl]] config</code> | + | * <code>[[kubectl]] config</code> XXXXX |
* <code>[[kubectl config view]]</code> | * <code>[[kubectl config view]]</code> | ||
* <code>[[kubectl config get-clusters]]</code> | * <code>[[kubectl config get-clusters]]</code> | ||
− | + | * <code>[[kubectl config get-users]]</code> | |
* <code>[[kubectl config get-contexts]]</code> | * <code>[[kubectl config get-contexts]]</code> | ||
* <code>[[kubectl config rename-context]]</code> | * <code>[[kubectl config rename-context]]</code> | ||
Line 13: | Line 13: | ||
* <code>[[kubectl config set-credentials]]</code> | * <code>[[kubectl config set-credentials]]</code> | ||
* <code>[[kubectl config --help]]</code> | * <code>[[kubectl config --help]]</code> | ||
+ | |||
+ | |||
+ | * <code>[[kubectl config set-clusters]]</code> | ||
+ | |||
+ | == Errors == | ||
+ | * <code>[[error: You must be logged in to the server (Unauthorized)]]</code> | ||
+ | |||
+ | == Activites == | ||
+ | * [[Merge multiple kubeconfigs]] | ||
+ | * [[Authenticate to your Amazon EKS cluster]] <code>[[aws eks update-kubeconfig]]</code> | ||
== Related == | == Related == | ||
− | |||
* <code>[[kubeadm config]]</code> | * <code>[[kubeadm config]]</code> | ||
* <code>[[~/.kube/config]]</code> | * <code>[[~/.kube/config]]</code> | ||
Line 26: | Line 35: | ||
* {{kubectl config context}} | * {{kubectl config context}} | ||
* {{kubectl config}} | * {{kubectl config}} | ||
− | * {{ | + | * {{K8s info}} |
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 14:33, 28 July 2024
kubectl config
XXXXXkubectl 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[edit]
Activites[edit]
Related[edit]
kubeadm config
~/.kube/config
kind: Config
aws eks update-kubeconfig --name my-eks-cluster-name
gcloud container clusters get-credentials
kubectx
See also[edit]
- 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: