Caution! Only regions where
Availability Zones
are available are supported.
To rule the Microsoft Azure cloud, you need an account and at least a single Subscription connected to id.
You have to create a service account with Microsoft Azure so that Deckhouse can manage cloud resources:
-
Install the Azure CLI, login and get Subscription ID:
export SUBSCRIPTION_ID=$(az login | jq -r '.[0].id')
-
Create the service account:
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/$SUBSCRIPTION_ID" --name "DeckhouseCANDI"
You have to be logged in for further work with the az
tool. Use the service account username, password, and tenant to log in:
az login --service-principal -u <username> -p <password> --tenant <tenant>