Skip to content

Deploying on Azure

Only what differs on Azure. The deployment flow itself is Deploying a data plane, and the commands are the same on every cloud.

xratu dataplane install prepare acme edge-eu dp-eu-west1 \
  --provider azure \
  --dp-count 2 \
  --artifact-registry <acr-name>.azurecr.io/<repository> \
  --artifact-bucket azblob://<storage-account>/<container>/<prefix> \
  --subscription-id <subscription-id> \
  --tenant-id <tenant-id> \
  --location <location> \
  --resource-group <resource-group> \
  --aks-oidc-issuer https://<location>.oic.prod-aks.azure.com/<aks-oidc-path>/ \
  --artifact-registry-scope /subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.ContainerRegistry/registries/<acr-name>

Values in angle brackets are yours to supply, so replace every one before running a command. Names without brackets, such as the organization, pool and dp_install, are the ones you choose in Xratu.

What Azure asks for

Six fields, the largest set of the three clouds.

In this section

Walkthrough

The three things to settle early

The registry, storage account and container must already exist. Terraform creates identities and assigns roles; it creates none of those.

Azure asks for the registry twice. Once as a login server for pushing, once as a resource ID for assigning roles on, and neither is derivable from the other.

Client IDs resolve during apply. Azure's annotation needs a value Terraform allocates, and apply reads it from Terraform's outputs and substitutes it before the cluster layer. up works here as it does elsewhere.