Azure
This page was last updated September 12, 2019.
Follow these instructions to prepare an Azure cluster for Istio.
You can deploy a Kubernetes cluster to Azure via AKS5 or AKS-Engine6 which fully supports Istio.
AKS
You can create an AKS cluster via the az cli7 or the Azure portal8.
For the az
cli option, complete az login
authentication OR use cloud shell, then run the following commands below.
Determine the desired region name which supports AKS
Verify the supported Kubernetes versions for the desired region
Replace
my location
using the desired region value from the above step, and then execute:Ensure a minimum of
1.10.5
is listed.Create the resource group and deploy the AKS cluster
Replace
myResourceGroup
andmyAKSCluster
with desired names,my location
using the value from step 1,1.10.5
if not supported in the region, and then execute:Get the AKS
kubeconfig
credentialsReplace
myResourceGroup
andmyAKSCluster
with the names from the previous step and execute:
AKS-Engine
Follow the instructions9 to get and install the
aks-engine
binary.Download the
aks-engine
API model definition that supports deploying Istio:Note: It is possible to use other api model definitions which will work with Istio. The MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission control flags and RBAC are enabled by default. See aks-engine api model default values10 for further information.
Deploy your cluster using the
istio.json
template. You can find references to the parameters in the official docs11.Parameter Expected value subscription_id
Azure Subscription Id dns_prefix
Cluster DNS Prefix location
Cluster Location Use the
<dns_prefix>-<id>
cluster ID, to copy yourkubeconfig
to your machine from the_output
folder:For example: