title | services | ms.date | ms.topic | description | keywords |
---|---|---|---|---|---|
Create a Kubernetes cluster with Azure Dev Spaces enabled - Azure Cloud Shell |
azure-dev-spaces |
10/04/2018 |
conceptual |
Learn how to quickly create a Kubernetes cluster enabled for Azure Dev Spaces directly from your browser without installing anything. |
Docker, Kubernetes, Azure, AKS, Azure Kubernetes Service, containers, Helm, service mesh, service mesh routing, kubectl, k8s |
You can use Azure Cloud Shell to create an Azure Kubernetes Service cluster by using the Try It button from this page. If you aren't signed in, follow the prompts to sign in with an Azure account, then type the commands at the Azure Cloud Shell prompt when it appears.
First, create the resource group in a region that supports Azure Dev Spaces.
az group create --name MyResourceGroup --location <region>
Create a Kubernetes cluster with the following command:
az aks create -g MyResourceGroup -n MyAKS --location <region> --generate-ssh-keys
It takes a few minutes to create the cluster. When complete, the output is shown in the JSON format. Look for provisioningState
and verify it's Succeeded
.
See Azure Dev Spaces for links to full tutorials.
Important
Many of the Azure Dev Spaces quickstarts and tutorials use the Azure Dev Spaces CLI to perform operations. You cannot install the Azure Dev Spaces CLI in the Azure Cloud Shell.