I also have similar problem when using GKE:
ubuntu@ip-172-31-21-174:~$ juju add-k8s gke-orc8r ERROR making juju admin credentials in cluster: ensuring cluster role "juju-credential-d562600d" in namespace "kube-system": Get "https://34.116.186.150/apis/rbac.authorization.k8s.io/v1/clusterroles/juju-credential-d562600d": getting credentials: exec: executable gke-gcloud-auth-plugin not found
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://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
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 /home/ubuntu/google-cloud-sdk/bin/gke-gcloud-auth-plugin
BR, Bartek
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