Data Plane
Self-hosting a DevZero Data Plane on Azure AKS.
Prerequisites
The following tools are needed to set up a DevZero region hosted on AKS:
Setting up the infrastructure
az
configuration and IAM setup
If you have an Azure account, use the Azure CLI command to log in and configure your current subscription. Or, log in to your Azure portal and create a new subscription.
Configuring az
CLI to interact with the subscription
Log in to your Azure account using the Azure CLI:
This will open a browser window for authentication. Complete the login process there.
Set your current subscription using the following command:
Replace <SUBSCRIPTION-ID>
with your Azure subscription ID.
Verify the active subscription:
Ensure the necessary permissions are explicitly granted to your account or service principal. You need the Contributor
role on the subscription or resource group level.
Assign the role to your account or service principal:
For a user account:
Replace <your-email@domain.com>
and <SUBSCRIPTION-ID>
with your Azure registered email and subscription ID.
For a service principal:
Replace <SERVICE-PRINCIPAL-ID>
and <SUBSCRIPTION-ID>
with your service principal ID and subscription ID.
Setting up an AKS cluster
Deploying the Helm Charts
Create a new namespace called devzero-self-hosted
by running:
Install the CRDs which are prerequisites to set up a DevZero region on the AKS cluster.
Install the helm charts to set up the DevZero data plane. Contact the DevZero team at support@devzero.io to get the values for:
<CEDANA-AUTH-TOKEN>
<SIGNOZ-ACCESS-TOKEN>
To track progress:
Verify that everything works:
Connecting to DevZero
Connect this Data Plane to DevZero
Visit the regions page on the DevZero
dashboard and click Add New
.
Use the retrieved values (token, URL, and CA certificate) to connect the self-hosted DevZero region to your team:
Fetching Cluster Configuration
After deploying the Helm chart, retrieve the following values for integration with the DevZero dashboard:
Cluster Name
Enter something meaningful and unique.
Examples: Madrid (europe-southwest1), Mumbai (asia-south1), Los Angeles (us-west2), The Dalles (us-west1)
Region ID
Enter a cloud-friendly region name (does not necessarily have to be unique).
To preserve familiarity, feel free to reuse existing Azure terms. For a list of Azure Region Names, click here.
Examples: eastus (Virginia), westeurope (Netherlands), southeastasia (Singapore), australiacentral (Canberra)
Cluster URL
To get the Cluster URL/IP:
For example,
Add the string as is, without leading or trailing whitespaces.
Cluster CA Certificate
To get the Cluster CA certificate:
For example,
Add the string as is, without leading or trailing whitespaces.
Service Account Name
To get the name of the Service Account:
Usually, this should be devzero-sa-token
.
Add the string as is, without leading or trailing whitespaces.
Service Account Token
To get the Service Account Token:
For example,
Add the string as is, without leading or trailing whitespaces.
Slug
To get the slug:
Replace <cluster-name>
with the name of the AKS cluster, and <zone>
with the zone its located in (eg: europe-southwest1, asia-south1, us-west2, us-west1).
For example,