Course outlines for learning terraform.
expected time | requirements |
---|---|
60 minutes | a computer |
Goal: Learn how to create Azure K8s resources on Azure using Terraform.
A Kubernetes cluster consists of many components. Creating one “manually” is time consuming and error prone.
Using Terraform to deploy a azurerm_kubernetes_cluster
resource is quite simple.
Use azurerm_kubernetes_cluster
to setup a K8s cluster. The documentation is a great starting point.
Use the sample code above and change these settings:
Standard_D2_v2
to Standard_D4_v2
.node_count
of 3
.Azure Portal |
node_count
?vm_size
would be good?vm_size
?node_count
?