Difference between revisions of "~/.kube/config, user:"
Jump to navigation
Jump to search
(Created page with " {{kubeconfig}}") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | kind: Config | ||
+ | preferences: {} | ||
+ | users: | ||
+ | - name: arn:aws:eks:us-east-1:1234567890:cluster/sandbox-eks | ||
+ | user: | ||
+ | exec: | ||
+ | apiVersion: [[client.authentication.k8s.io/v1beta1]] | ||
+ | args: | ||
+ | - --region | ||
+ | - us-east-1 | ||
+ | - eks | ||
+ | - get-token | ||
+ | - --cluster-name | ||
+ | - sandbox-eks | ||
+ | command: aws | ||
+ | env: | ||
+ | - name: AWS_PROFILE | ||
+ | value: sandbox-profile | ||
+ | == Related == | ||
+ | * [[aws eks update-kubeconfig --name my-eks-cluster-name]] | ||
+ | |||
+ | |||
+ | == See also == | ||
{{kubeconfig}} | {{kubeconfig}} |
Latest revision as of 16:20, 1 March 2023
kind: Config preferences: {} users: - name: arn:aws:eks:us-east-1:1234567890:cluster/sandbox-eks user: exec: apiVersion: client.authentication.k8s.io/v1beta1 args: - --region - us-east-1 - eks - get-token - --cluster-name - sandbox-eks command: aws env: - name: AWS_PROFILE value: sandbox-profile
Related[edit]
See also[edit]
kubectl config
[ view | get-contexts | current-context | get-clusters | set-context | set-credentials ], ~/.kube/config, kubectl config --help
, kubectx
, Kubernetes contexts, KUBECONFIG, kubectl --kubeconfig
Advertising: