Difference between revisions of "Aws eks update-kubeconfig"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
  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
 
  '[[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]]
  
 
== See also ==
 
== See also ==

Revision as of 20:34, 29 November 2021


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

See also

Advertising: