Unable to bootstrap EKS cluster to Juju 3.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Medium
|
Unassigned |
Bug Description
Hi,
I've installed Juju 3.1, created an EKS cluster (using eksctl), but when I try to bootstrap k8s I'm getting below error:
ubuntu@
ERROR making juju admin credentials in cluster: ensuring cluster role "juju-credentia
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https:/
awscli is installed though (using official instructions, not the snap):
ubuntu@
/usr/local/bin/aws
Any idea what might be the issue here?
Thanks in advance.
BR,
Bartek
tags: | added: bootstrap eks k8s |
I also have similar problem when using GKE:
ubuntu@ ip-172- 31-21-174: ~$ juju add-k8s gke-orc8r l-d562600d" in namespace "kube-system": Get "https:/ /34.116. 186.150/ apis/rbac. authorization. k8s.io/ v1/clusterroles /juju-credentia l-d562600d": getting credentials: exec: executable gke-gcloud- auth-plugin not found
ERROR making juju admin credentials in cluster: ensuring cluster role "juju-credentia
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at: /kubernetes. io/docs/ reference/ access- authn-authz/ authentication/ #client- go-credential- plugins
https:/
Install gke-gcloud- auth-plugin for use with kubectl by following https:/ /cloud. google. com/blog/ products/ containers- kubernetes/ kubectl- auth-changes- in-gke
And yet:
ubuntu@ ip-172- 31-21-174: ~$ which gke-gcloud- auth-plugin google- cloud-sdk/ bin/gke- gcloud- auth-plugin
/home/ubuntu/
BR,
Bartek