Lamar
Lamar

Reputation: 23

Not able to create Azure Container Service type = Kubernetes

I am using Azure CLI 2.0 and I am trying to create Azure Container Service type Kurbenetes, with this command (I already created resource group)

az acs create --orchestrator-type=kubernetes --resource-group=mi-shared-docker-test --dns-prefix=kube --name=mishareddocker

I am getting this error

waiting for AAD role to propagate..........Could not create a service principal with the right permissions. Are you an Owner on this project?

I can create any vms, webapps etc, but why am I receiving this issue ?

Upvotes: 1

Views: 839

Answers (2)

itaysk
itaysk

Reputation: 6226

There's an typo in your command, orchestrator=type should be orchestrator-type (dash instead of equals)

Upvotes: 0

4c74356b41
4c74356b41

Reputation: 72151

Well, the error states it pretty clearly, you don't have the right permissions, you should read on the ACS\Kubernetes guide.

I understand you are using AZ, not azure, but the idea is the same, you should have enough permissions and a service principal to deploy Kubernetes on Azure.

You need to look specifically at this link.

Upvotes: 1

Related Questions