2.5 KiB
type | title | linkTitle | weight | description |
---|---|---|---|---|
docs | Set up an Azure Kubernetes Service (AKS) cluster | Azure Kubernetes Service (AKS) | 2000 | Learn how to set up an Azure Kubernetes Cluster |
This guide walks you through installing an Azure Kubernetes Service (AKS) cluster. If you need more information, refer to Quickstart: Deploy an AKS cluster using the Azure CLI
Prerequisites
Deploy an AKS cluster
-
In the terminal, log into Azure.
az login
-
Set your default subscription:
az account set -s [your_subscription_id]
-
Create a resource group.
az group create --name [your_resource_group] --location [region]
-
Create an AKS cluster. To use a specific version of Kubernetes, use
--kubernetes-version
(1.13.x or newer version required).az aks create --resource-group [your_resource_group] --name [your_aks_cluster_name] --location [region] --node-count 2 --enable-app-routing --generate-ssh-keys
-
Get the access credentials for the AKS cluster.
az aks get-credentials -n [your_aks_cluster_name] -g [your_resource_group]
AKS Edge Essentials
To create a single-machine K8s/K3s Linux-only cluster using Azure Kubernetes Service (AKS) Edge Essentials, you can follow the quickstart guide available at AKS Edge Essentials quickstart guide.
{{% alert title="Note" color="primary" %}} AKS Edge Essentials does not come with a default storage class, which may cause issues when deploying Dapr. To avoid this, make sure to enable the local-path-provisioner storage class on the cluster before deploying Dapr. If you need more information, refer to Local Path Provisioner on AKS EE. {{% /alert %}}
Related links
- Learn more about [the Dapr extension for AKS]({{< ref azure-kubernetes-service-extension >}})