Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all ACS locations actually available for k8s #29

Open
Cryptophobia opened this issue Mar 20, 2018 · 1 comment
Open

Not all ACS locations actually available for k8s #29

Cryptophobia opened this issue Mar 20, 2018 · 1 comment
Labels

Comments

@Cryptophobia
Copy link
Member

From @mboersma on March 8, 2017 15:55

In the Azure Quick Start docs, we suggest running this command to discover what locations exist for container services:

$ az account list-locations --query [].name --output tsv
eastasia
southeastasia
centralus
eastus
eastus2
westus
northcentralus
southcentralus
northeurope
westeurope
westus2
....

However, many of those locations will later fail when trying to actually create the service:

$  az acs create --resource-group="${AZURE_RG_NAME}" --location="${AZURE_DC_LOCATION}" \
>   --orchestrator-type=kubernetes --master-count=1 --agent-count=1 \
>   --agent-vm-size="Standard_D2_v2" \
>   --admin-username="matt" \
>   --name="${AZURE_SERVICE_NAME}" --dns-prefix="mboersma" \
>   --ssh-key-value @/Users/matt/.ssh/id_rsa.pub
creating service principal.........done
waiting for AAD role to propagate.done
The provided location 'westus2' is not available for resource type 'Microsoft.ContainerService/containerServices'. List of available regions for the resource type is 'japaneast,centralus,eastus2,japanwest,eastasia,southcentralus,australiaeast,australiasoutheast,brazilsouth,southeastasia,westus,northcentralus,westeurope,northeurope,eastus'.  

The first command should be replaced with one that lists only the appropriate regions.

Copied from original issue: deis/workflow#761

@Cryptophobia
Copy link
Member Author

From @bacongobbler on March 8, 2017 16:12

I actually opened an issue on the azure cli for this as well: Azure/azure-cli#2396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant