Skip to content

Rate this page
Thanks for your feedback
Thank you! The feedback has been submitted.

Get free database assistance or contact our experts for personalized support.

Create a Microsoft Azure Kubernetes Service (AKS) cluster

This guide walks you through creating a Kubernetes cluster on Microsoft Azure Kubernetes Service (AKS). The document assumes some experience with the platform.

For more information on AKS, see the Microsoft AKS documentation .

Prerequisites

Install and configure the following:

  1. Azure CLI for interacting with Azure. See the installation guide for your system.
  2. kubectl to manage Kubernetes. See the official kubectl installation .

Sign in with the Azure CLI using the official authentication guide .

Create the AKS cluster

  1. Have the following ready:

  2. Create the cluster. The following creates a 3-node cluster named my-cluster-name in resource group my-resource-group (create the resource group first if it does not exist):

    az aks create --resource-group my-resource-group --name my-cluster-name \
      --enable-managed-identity --node-count 3 --node-vm-size Standard_B4ms \
      --node-osdisk-size 30 --network-plugin kubenet --generate-ssh-keys --outbound-type loadbalancer
    

    For ARM64, use a different node size, for example Standard_D4ps_v5 . See AKS creation options for more parameters. Wait a few minutes for the cluster to be created.

  3. Configure kubectl to use the new cluster:

    az aks get-credentials --resource-group my-resource-group --name my-cluster-name
    

Delete the AKS cluster

To remove the Kubernetes cluster and all resources, see Delete the Operator and database.

Next steps

Deploy the Operator and Percona Server for MongoDB in single-namespace mode or cluster-wide mode.

Single-namespace deployment Multi-namespace deployment


Last update: March 23, 2026
Created: March 23, 2026