Difference between revisions of "Aws eks update-kubeconfig"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
aws eks --region $(terraform output -raw region) update-kubeconfig --name $(terraform output -raw cluster_name) | aws eks --region $(terraform output -raw region) update-kubeconfig --name $(terraform output -raw cluster_name) | ||
Added new context arn:aws:eks:us-east-2:012345678912:cluster/education-eks-Ry318DCv to [[/Users/]]your_user/[[.kube/config]] | Added new context arn:aws:eks:us-east-2:012345678912:cluster/education-eks-Ry318DCv to [[/Users/]]your_user/[[.kube/config]] | ||
+ | |||
+ | == Synopsys == | ||
+ | <pre> | ||
+ | update-kubeconfig | ||
+ | --name <value> | ||
+ | [--kubeconfig <value>] | ||
+ | [--role-arn <value>] | ||
+ | [--dry-run] | ||
+ | [--verbose] | ||
+ | [--alias <value>] | ||
+ | </pre> | ||
+ | |||
== See also == | == See also == |
Revision as of 13:45, 5 December 2021
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/update-kubeconfig.html
aws eks update-kubeconfig
aws eks --region $(terraform output -raw region) update-kubeconfig --name $(terraform output -raw cluster_name)
aws eks --region $(terraform output -raw region) update-kubeconfig --name $(terraform output -raw cluster_name) 'NoneType' object is not iterable Solution: rm ~/.kube/config and execute it again
aws eks --region $(terraform output -raw region) update-kubeconfig --name $(terraform output -raw cluster_name) Added new context arn:aws:eks:us-east-2:012345678912:cluster/education-eks-Ry318DCv to /Users/your_user/.kube/config
Synopsys
update-kubeconfig --name <value> [--kubeconfig <value>] [--role-arn <value>] [--dry-run] [--verbose] [--alias <value>]
See also
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io- AWS EKS:
AWS::EKS
,aws eks [ create-cluster | list-clusters
|describe-cluster
|update-kubeconfig | list-updates | list-addons | update-cluster-version | update-nodegroup-version | get-token | create-addon ]
Advertising: