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:
parent
8ec23b54a8
commit
b98bc5953f
@ -20,6 +20,7 @@ resource "azurerm_kubernetes_cluster" "k8s" {
|
||||
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 {
|
||||
|
@ -47,13 +47,14 @@ variable "route_tables" {
|
||||
type = map
|
||||
default = {
|
||||
public = "Internet"
|
||||
private = "VnetLocal"
|
||||
private = "Internet"
|
||||
#private = "VnetLocal"
|
||||
}
|
||||
}
|
||||
|
||||
variable "dns_servers" {
|
||||
type = list
|
||||
default = ["10.1.2.4", "10.1.2.5"]
|
||||
default = []
|
||||
}
|
||||
|
||||
variable "k8s_node_size" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user