aws / aws/aws-cli

[v2] aws2 eks update-kubeconfig should use current binary name

Open
#4,675 3 comments 4 reactions 0 assignees View on GitHub
confusing-error customization eks-kubeconfig feature-request p3 v2
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

Issue reported originally here: https://github.com/weaveworks/eksctl/issues/1562
Related issue(resolved): https://github.com/kubernetes-sigs/aws-iam-authenticator/issues/132

Fixed this in the same way #132 was fixed by editing the kube config file.

`$ vim "/Users/home_dir/.kube/config"`

user:
exec:
apiVersion: client.authentication.k8s.io/v1alpha1
args:
- --region
- xxxxxregion_namexxxxx
- eks
- get-token
- --cluster-name
- xxxxxxxxxxxxcluster_idxxxxx
command: aws

In this instance, I changed the **command** field to: **`aws2`**

And now I'm able to run:
` $ eksctl get clusters`
`$ kubectl get svc --all-namespaces`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.