Difference between revisions of "Kubectl config"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(29 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | |||
+ | * <code>[[kubectl]] config</code> XXXXX | ||
* <code>[[kubectl config view]]</code> | * <code>[[kubectl config view]]</code> | ||
− | * <code>[[kubectl config get-context]]</code> | + | * <code>[[kubectl config get-clusters]]</code> |
+ | * <code>[[kubectl config get-users]]</code> | ||
+ | * <code>[[kubectl config get-contexts]]</code> | ||
+ | * <code>[[kubectl config rename-context]]</code> | ||
+ | * <code>[[kubectl config use-context]]</code> | ||
+ | * <code>[[kubectl config set-context]]</code> | ||
* <code>[[kubectl config current-context]]</code> | * <code>[[kubectl config current-context]]</code> | ||
− | * <code>[[kubectl config | + | * <code>[[kubectl config set-credentials]]</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 == | ||
+ | * <code>[[kubeadm config]]</code> | ||
+ | * <code>[[~/.kube/config]]</code> | ||
+ | * <code>[[kind: Config]]</code> | ||
+ | * <code>[[aws eks update-kubeconfig --name my-eks-cluster-name]]</code> | ||
+ | * <code>[[gcloud container clusters get-credentials]]</code> | ||
+ | * <code>[[kubectx]]</code> | ||
== See also == | == See also == | ||
− | * {{kubectl}} | + | * {{kubectl config context}} |
− | * {{K8s}} | + | * {{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: