Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.72 KB

create-cluster-cloud-shell.md

File metadata and controls

37 lines (25 loc) · 1.72 KB
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

Create a Kubernetes cluster with Azure Dev Spaces enabled with Azure Cloud Shell

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.

Create the cluster

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.

Next steps

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.