aws eks update-kubeconfig

From wikieduonline
Revision as of 10:01, 18 February 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

aws eks update-kubeconfig Configures kubectl so that you can connect to an Amazon EKS cluster.



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

Advertising: