169163334 - Adds public ips to k8s nodes for internet access

Temporary fix. This should be replaced with a NAT GW (which I need MSFT
to enable or fix the registry registration)
This commit is contained in:
Rob Gil
2019-12-23 18:13:43 -05:00
parent 8ec23b54a8
commit b98bc5953f
2 changed files with 9 additions and 7 deletions

View File

@@ -15,11 +15,12 @@ resource "azurerm_kubernetes_cluster" "k8s" {
}
default_node_pool {
name = "default"
vm_size = "Standard_D1_v2"
os_disk_size_gb = 30
vnet_subnet_id = var.vnet_subnet_id
node_count = 1
name = "default"
vm_size = "Standard_D1_v2"
os_disk_size_gb = 30
vnet_subnet_id = var.vnet_subnet_id
node_count = 1
enable_node_public_ip = true # Nodes need a public IP for external resources. FIXME: Switch to NAT Gateway if its available in our subscription
}
lifecycle {