-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Samanta Mika edited this page May 3, 2019
·
6 revisions
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
az aks get-credentials --resource-group AksDemo --name AksDemoCluster
az aks browse --resource-group AksDemo --name AksDemoCluster
https://docs.microsoft.com/en-us/azure/dev-spaces/get-started-netcore-visualstudio
When command the following command
az aks get-credentials --resource-group AksDemo --name AksDemoCluster
shows "The operation is not permitted for namespace 'Microsoft.ContainerService'...." message then list all available Azure subscriptions with following command:
az account list
Copy the id of the subscription you want to use with:
az account set --subscription "id"
When the Kubernetes Dashboard shows errors related to insufficient access rights, create a ClusterRoleBinding which gives the role dashboard-admin to the ServiceAccount:
kubectl create clusterrolebinding kubernetes-dashboard -n kube-system --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard
https://pascalnaber.wordpress.com/2018/06/17/access-dashboard-on-aks-with-rbac-enabled/