Setup an Azure Kubernetes Service (AKS) cluster

How to setup Dapr on an Azure Kubernetes Cluster.

Set up an Azure Kubernetes Service cluster

Prerequisites

Deploy an Azure Kubernetes Service cluster

This guide walks you through installing an Azure Kubernetes Service cluster. If you need more information, refer to Quickstart: Deploy an Azure Kubernetes Service (AKS) cluster using the Azure CLI

  1. Login to Azure
  1. az login
  1. Set the default subscription
  1. az account set -s [your_subscription_id]
  1. Create a resource group
  1. az group create --name [your_resource_group] --location [region]
  1. Create an Azure Kubernetes Service cluster

Note: To use a specific version of Kubernetes use --kubernetes-version (1.13.x or newer version required)

  1. az aks create --resource-group [your_resource_group] --name [your_aks_cluster_name] --node-count 2 --enable-addons http_application_routing --generate-ssh-keys
  1. Get the access credentials for the Azure Kubernetes cluster
  1. az aks get-credentials -n [your_aks_cluster_name] -g [your_resource_group]

Next steps

Install Dapr using the AKS Dapr extension >>

Last modified June 28, 2022: remove helm section and link to dapr aks extension (3930808a)