Skip to content

A --location flag seems to be required for some Azure k8s setup steps #3082

Open
@danielballan

Description

@danielballan

Thank for maintaining this excellent guide, which has been reliably useful to me, year after year!

Bug description

When following Step Zero for Azure I get this error message for az network vnet create:

(LocationNotAvailableForResourceType) The provided location 'unitedstates' is not available for resource type 'Microsoft.Network/virtualNetworks'.

and similarly for az aks create:

The provided location 'unitedstates' is not available for resource type 'Microsoft.ContainerService/managedClusters'. 

Proposed solution

Adding the --location flag, consistently with what I used for az group create, addresses the issue. Perhaps the documentation should be updated to set a $LOCATION and then use that throughout? I would be happy to open a PR if you think this makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions