Skip to content

Latest commit

 

History

History
54 lines (32 loc) · 1.83 KB

README.md

File metadata and controls

54 lines (32 loc) · 1.83 KB

README

Revised for Terraform AzureRM v2.1

Sample terraform script for AKS.

Sample architecture

sample AKS architecture

AKS deployment architecture with advanced features.

You need to set load_balancer_sku = "standard" in network_profile in order to use AZ.

Note: At the time of writing this, you need to manually register preview features in order to use multi-node pools and AZ. See documentation for more information

Run Terraform

Sample AKS terraform script is located in this folder.

Please refer README for how to run terraform script.

Test

Once create AKS cluster, run following CLI to get K8S config key

az aks get-credentials --resource-group $rgname --name $aksname

Run sample images

Run a sample image for test. Please refer terraform examples for more information

kubectl apply -f ./files/demo.yaml

Browse K8S dashboard

az aks browse --resource-group $rgname --name $aksname

You need to run following CLI to access dashboard. #kubectl create clusterrolebinding kubernetes-dashboard --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard

Run GPU workload

To run GPU workload, please refer AKS GPU cluster documentation for more information