You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you connect to an Azure Kubernetes Service (AKS) cluster through Azure CLI using az aks get-credentials, the ~/.kube/config file will use kubelogin in the command resulting in the following error:
$ ./k8sviz.sh
Unable to find image 'mkimuram/k8sviz:0.3.4' locally
0.3.4: Pulling from mkimuram/k8sviz
e95f33c60a64: Pull complete
088e93cd104e: Pull complete
958b7c45c0e1: Pull complete
dc0b27e2e540: Pull complete
Digest: sha256:abe3a75529e31d5e1d4065fb3d7f98d8329e6db583cb4e2e2e9eb25be691b797
Status: Downloaded newer image for mkimuram/k8sviz:0.3.4
Failed to get namespace "default": Get "https://aks-my-cluster-dns-68fac263.hcp.eastus.azmk8s.io:443/api/v1/namespaces/default": getting credentials: exec: executable kubelogin not found
NOTE: This behaviour is the same when using kubectl.
I ended up just downloading kubelogin locally and then updating the Dockerfile and added it to the image and PATH. The code is not worth sharing.
The text was updated successfully, but these errors were encountered:
When you connect to an Azure Kubernetes Service (AKS) cluster through Azure CLI using
az aks get-credentials
, the~/.kube/config
file will usekubelogin
in thecommand
resulting in the following error:NOTE: This behaviour is the same when using
kubectl
.I ended up just downloading
kubelogin
locally and then updating theDockerfile
and added it to the image andPATH
. The code is not worth sharing.The text was updated successfully, but these errors were encountered: