Skip to content

Instantly share code, notes, and snippets.

@BernhardRode
Last active September 4, 2018 22:35
Show Gist options
  • Save BernhardRode/57099e039c75072ba04d91ed3d22935a to your computer and use it in GitHub Desktop.
Save BernhardRode/57099e039c75072ba04d91ed3d22935a to your computer and use it in GitHub Desktop.
Setup AKS with istio

Prerequisits

CLI Versions

Helm: v2.10.0 Kubectl: v1.11.2

Setup

AKS

az group create --location westeurope --name istio-issue
az aks create --resource-group istio-issue --name istio-aks-cluster --node-count 3 --node-vm-size Standard_D2_v3 --kubernetes-version 1.11.2
az aks get-credentials --resource-group istio-issue --name istio-aks-cluster
kubectl config use-context istio-aks-cluster
kubectl create clusterrolebinding kubernetes-dashboard -n kube-system --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard

Helm

kubectl create clusterrolebinding tiller -n tiller --clusterrole=cluster-admin --serviceaccount=tiller:tiller
helm init --service-account tiller

Monitor

Open Dashboard

  • Wait some time
  • Open the dashboard
  • Nice and responsive
az aks browse --resource-group istio-issue --name istio-aks-cluster

istio

Download the 1.0.0 release and go to the folder, then:

kubectl apply -f install/kubernetes/helm/istio/templates/crds.yaml
kubectl apply -f install/kubernetes/istio-demo.yaml
kubectl label namespace default istio-injection=enabled

Monitor

Open Dashboard

  • Wait some time
  • Open the dashboard
  • Slower but kind of usable
az aks browse --resource-group istio-issue --name istio-aks-cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment