appgw-ingress-k8s-cluster

Azure/appgw-ingress-k8s-cluster/azurerm

Terraform Module HCL AZURERM

The Application Gateway Ingress Controller allows the Azure Application Gateway to be used as the ingress for an Azure Kubernetes Service aka AKS cluster. As shown in the figure below, the ingress controller runs as a pod within the AKS cluster. It consumes Kubernetes Ingress Resources and converts them to an Azure Application Gateway configuration which allows the gateway to load-balance traffic to Kubernetes pods.

Install
module "appgw-ingress-k8s-cluster" {
source = "Azure/appgw-ingress-k8s-cluster/azurerm"
version = "0.1.1"
}
⭐ Source on GitHub 📦 Registry page
README

The Application Gateway Ingress Controller allows the Azure Application Gateway to be used as the ingress for an Azure Kubernetes Service aka AKS cluster. As shown in the figure below, the ingress controller runs as a pod within the AKS cluster. It consumes Kubernetes Ingress Resources and converts them to an Azure Application Gateway configuration which allows the gateway to load-balance traffic to Kubernetes pods. This module helps in deploying the necessary resources for the greenfield deployment of necessary resources for AKS cluster with Application Gateway as ingress controller. !Azure Application Gateway + AKS Setup Greenfield Deployment**: If you are starting from scratch, refer to these installation instructions which outlines steps to deploy an AKS cluster with Application Gatewa

Inputs (26)
NameTypeDescriptionDefault
aks_dns_prefixanyOptional DNS prefix to use with hosted Kubernetes API server FQDN."aks"
aks_agent_countanyThe number of agent nodes for the cluster.3
aks_enable_rbacanyEnable RBAC on the AKS cluster. Defaults to false."false"
public_ssh_key_pathanyPublic key path for SSH."~/.ssh/id_rsa.pub"
app_gateway_nameanyName of the Application Gateway."ApplicationGateway1"
app_gateway_skuanyName of the Application Gateway SKU."Standard_v2"
aks_nameanyName of the AKS cluster."aks-cluster1"
app_gateway_subnet_address_prefixanyContainers DNS server IP address."15.1.0.0/16"
aks_agent_os_disk_sizeanyDisk size (in GB) to provision for each of the agent pool nodes. This value rang40
aks_agent_vm_sizeanyThe size of the Virtual Machine."Standard_D3_v2"
aks_service_cidranyA CIDR notation IP range from which to assign service cluster IPs."10.0.0.0/16"
aks_docker_bridge_cidranyA CIDR notation IP for Docker bridge."172.17.0.1/16"
resource_group_nameanyName of the resource group."aksrg1"
aks_service_principal_object_idanyObject ID of the service principal.""
aks_subnet_nameanyAKS Subnet Name."kubesubnet"
vm_user_nameanyUser name for the VM"vmuser1"
aks_dns_service_ipanyContainers DNS server IP address."10.0.0.10"
locationanyLocation of the cluster."Central US"
virtual_network_nameanyVirtual network name"aksVirtualNetwork"
kubernetes_versionanyThe version of Kubernetes."1.11.5"
Resources (6)
azurerm_application_gatewayazurerm_kubernetes_clusterazurerm_public_ipazurerm_role_assignmentazurerm_user_assigned_identityazurerm_virtual_network
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.1
Cloud AZURERM
★ Stars39
Forks36
Total downloads7.9k
Inputs26
Resources6
LicenseMIT
NamespaceAzure
Updated