This is the documentation for aks module.
This module creates following resources -
- aks cluster with a default system nodepool
- optionally you can create worker nodepools
Name | Version |
---|---|
azurerm | =3.65.0 |
Name | Version |
---|---|
azurerm | =3.65.0 |
No modules.
Name | Type |
---|---|
azurerm_kubernetes_cluster.k8s | resource |
azurerm_kubernetes_cluster_node_pool.k8s-worker | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aks_tags | tags for the aks cluster | map(any) |
{} |
no |
az_subnet_id | azure subnet id where the nodepools and eks cluster need to be created | string |
n/a | yes |
cluster_name | aks cluster name | string |
n/a | yes |
dns_prefix | DNS prefix specified when creating the managed cluster. Possible values must begin and end with a letter or number, contain only letters, numbers, and hyphens and be between 1 and 54 characters in length. Changing this forces a new resource to be created. | string |
"platformwale" |
no |
k8s_version | kubernetes version | string |
"1.26" |
no |
network_plugin | Network plugin to use for networking. Currently supported values are azure, kubenet and none. Changing this forces a new resource to be created. | string |
"none" |
no |
nodepools | Nodepools for the Kubernetes cluster | map(object({ |
{ |
no |
region | azure region where the aks cluster must be created, this region should match where you have created the resource group, vnet and subnet | string |
n/a | yes |
resource_group_name | azure resource group name where the aks cluster should be created | string |
n/a | yes |
Name | Description |
---|---|
client_certificate | Base64 encoded public certificate used by clients to authenticate to the Kubernetes cluster. |
cluster_id | The Kubernetes Managed Cluster ID. |
kube_config | Raw Kubernetes config to be used by kubectl and other compatible tools. |
node_resource_group | The auto-generated Resource Group which contains the resources for this Managed Kubernetes Cluster. |
node_resource_group_id | The auto-generated Resource Group which contains the resources for this Managed Kubernetes Cluster. |
oidc_issuer_url | The OIDC issuer URL that is associated with the cluster |