How to run kubectl for Private AKS cluster from user laptop

5/28/2021

I have created private cluster by following the below link. Am able to access the cluster from my laptop using the option of "AKS Run Command".

https://docs.microsoft.com/en-us/azure/aks/private-clusters

Now, i need to create nginx ingress controller using helm chart. When i ran any helm command, it gives the permission error

Please help me to solve this issue or any other way to create the ingress controller for private AKS.

az aks command invoke -g private-aks -n aks-demo -c "helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx" command started at 2021-05-28 00:09:10+00:00, finished at 2021-05-28 00:09:10+00:00, with exitcode=1 Error: mkdir /.config: permission denied

Thanks Raam

-- Raam C
azure
azure-aks
kubernetes

0 Answers