terraform/quickstart/201-k8s-cluster-with-aks-applicationgateway-ingress
github-actions[bot] dd26a7d74f Update TestRecord
2023-09-03 05:46:55 +00:00
..
2023-08-01 11:43:01 +08:00
2023-08-01 11:43:01 +08:00
2023-08-01 11:43:01 +08:00
2023-08-01 11:43:01 +08:00
2023-08-01 11:43:01 +08:00
2023-09-03 05:46:55 +00:00
2023-08-01 11:43:01 +08:00

Application Gateway Ingress Controller in Azure Kubernetes Service using Terraform

This template creates an Application Gateway Ingress Controller in Azure Kubernetes Service using Terraform.

Terraform resource types

Terraform data sources

Variables

Name Description Default value
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
virtual_network_name Virtual network name. aksVirtualNetwork
virtual_network_address_prefix VNET address prefix. 192.168.0.0/16
aks_subnet_name Subnet name. kubesubnet
aks_subnet_address_prefix Subnet address prefix. 192.168.0.0/24
app_gateway_subnet_address_prefix Subnet server IP address. 192.168.1.0/24
app_gateway_name Name of the Application Gateway. ApplicationGateway1
app_gateway_sku Name of the Application Gateway SKU. Standard_v2
app_gateway_tier Tier of the Application Gateway tier. Standard_v2
aks_name AKS cluster name. aks-cluster1
aks_dns_prefix (Optional) DNS prefix to use with hosted Kubernetes API server FQDN. aks
aks_agent_os_disk_size Disk size (in GB) to provision for each of the agent pool nodes. This value ranges from 0 to 1023. Value of 0 applies the default disk size for that agentVMSize. 40
aks_agent_count The number of agent nodes for the cluster. 3
aks_agent_vm_size VM size. Standard_D3_v2
kubernetes_version Kubernetes version 1.11.5
aks_service_cidr CIDR notation IP range from which to assign service cluster IPs. 10.0.0.0/16
aks_dns_service_ip DNS server IP address. 10.0.0.10
aks_docker_bridge_cidr CIDR notation IP for Docker bridge. 172.17.0.1/16
aks_enable_rbac Enable RBAC on the AKS cluster. false
msi_id The Managed Service Identity ID. Set this value if you're running this example using Managed Identity as the authentication method. null
vm_user_name User name for the VM. vmuser1
public_ssh_key_path Public key path for SSH. ~/.ssh/id_rsa.pub

Example

To see how to run this example, see Create an Application Gateway Ingress Controller in Azure Kubernetes Service using Terraform.