Skip to main content
Azure Kubernetes Service (AKS) is Microsoft Azure’s managed Kubernetes service. Azure runs the control plane; Ankra provisions the cluster, then manages everything on top - node pools, Kubernetes upgrades, addons, stacks, GitOps, and AI-assisted operations. This page covers AKS specifically. For the shared concepts across all managed providers - live options, discovery/import, and day-2 API patterns - see Managed Kubernetes.

Why AKS with Ankra

  • Network plugin and SKU tier - choose azure or kubenet networking and the control-plane SKU tier that fits your uptime needs.
  • Private clusters - provision a private API endpoint when required.
  • Live pricing and options - locations, Kubernetes versions, and VM sizes are fetched live with your service principal, including spot and autoscaling where available.

Prerequisites

An Azure service principal stored in Ankra with Contributor on the target subscription. See Azure Credentials. GitOps is optional: connect a repository at creation and Ankra commits the cluster’s stack definitions to Git.

Creating an AKS cluster

1

Create Cluster

Go to ClustersCreate Cluster and pick Azure’s Cloud Managed action.
2

Credential & Location

Select the Azure credential and a location (for example westeurope). Locations load live from Azure.
3

Node Pools

Define one or more worker pools: name, VM size (with live pricing), count, labels, and autoscaling bounds.
4

Kubernetes & Network

Pick a Kubernetes version or keep the default, choose the network plugin (azure or kubenet), the SKU tier (Free, Standard, or Premium), and whether the cluster is private.
5

GitOps (optional) & Create

Optionally connect a Git repository, then create. Ankra runs AKS preflight checks, provisions the cluster, retrieves the kubeconfig, and installs the Ankra Agent.

AKS options

AKS node-pool names are lowercase alphanumeric and at most 12 characters; cluster names are at most 63 characters.

Day-2 operations

Node pools, upgrades, and deletion work from the CLI, portal, or API. The CLI examples use --provider aks:
Autoscaling bounds are set with ankra cluster managed node-pool update <cluster_id> <pool> --provider aks --autoscaling --autoscaling-min 2 --autoscaling-max 8, from the portal, or via the PATCH .../node-pools/{name} endpoint. See Managed Kubernetes - day-2 operations for the shared mechanics.

Stopping and Starting

AKS is the only managed provider with native cluster stop/start, and Ankra exposes it in the portal Danger Zone, CLI, API, and Ankra AI/MCP. Stopping deallocates the control plane and agent pools (Azure stops billing for compute) while keeping all configuration, and starting brings the same cluster back. In the portal, open SettingsGeneralDanger Zone and choose Stop cluster. When Azure finishes the operation, the same area offers Start cluster.
The API exposes the same asynchronous stop and start operations. You can also ask Ankra’s AI or any MCP client to “stop my AKS cluster” or “start my AKS cluster”; write operations require confirmation. Both operations are asynchronous on Azure’s side - the cluster shows stopped or running once Azure completes the transition. Other managed providers do not support stop/start; Ankra advertises the capability per provider as supports_stop_start.

Importing an existing AKS cluster

Already running AKS? Discover clusters in your subscription and adopt them into Ankra without touching them. Discovery and import run from the portal or API - see Managed Kubernetes - importing existing clusters.