Get kubectl credentials in Azure

5/26/2020

I have created a K8s service (cluster) on Azure Portal.

I can retreive my credentials with this command (works fine):

az aks get-credentials --resource-group myResourceGroup --name myAKSCluster

But i want to know how i can download credentials from azure portal web interface (UI). Is there a way to do that ?

Thanks

-- Bob5421
azure-kubernetes

1 Answer

5/26/2020

K8s credentials are not available from the portal UI. Ref: https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough-portal#connect-to-the-cluster

You can connect to the cluster via cloud CLI rather than your local terminal.

-- bpdohall
Source: StackOverflow