terraform/quickstart/201-k8s-cluster-with-tf-and-aks
github-actions[bot] 0b42c09bc4 Update TestRecord
2024-11-03 03:44:41 +00:00
..
2024-07-02 13:53:46 +08:00
2023-05-24 11:59:56 -07:00
2023-07-24 09:01:38 +08:00
2024-07-02 13:53:46 +08:00
2024-11-03 03:44:41 +00:00
2023-07-24 09:01:38 +08:00

Kubernetes cluster with Azure Kubernetes Service (AKS)

This template provisions an AKS / Azure Kubernetes service (also known as a Managed Kubernetes Cluster).

Terraform resource types

Variables

Name Description Default
resource_group_name_prefix Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. rg
resource_group_location Location of the resource group. eastus
node_count Initial number of nodes which should exist in this Node Pool. Value must be between 1 and 1000. 3
msi_id The Managed Service Identity ID. Set this value if you're running this example using Managed Identity as the authentication method. null
username The username for the new cluster. azureadmin

Example

To see how to run this example, see Create a Kubernetes cluster with Azure Kubernetes Service using Terraform.