pod_subnet_id
This commit is contained in:
Родитель
3d63a90e15
Коммит
d4fcd9022c
2
main.tf
2
main.tf
|
@ -54,6 +54,7 @@ resource "azurerm_kubernetes_cluster" "main" {
|
|||
orchestrator_version = var.orchestrator_version
|
||||
os_disk_size_gb = var.os_disk_size_gb
|
||||
os_disk_type = var.os_disk_type
|
||||
pod_subnet_id = var.pod_subnet_id
|
||||
tags = merge(var.tags, var.agents_tags)
|
||||
type = var.agents_type
|
||||
ultra_ssd_enabled = var.ultra_ssd_enabled
|
||||
|
@ -78,6 +79,7 @@ resource "azurerm_kubernetes_cluster" "main" {
|
|||
orchestrator_version = var.orchestrator_version
|
||||
os_disk_size_gb = var.os_disk_size_gb
|
||||
os_disk_type = var.os_disk_type
|
||||
pod_subnet_id = var.pod_subnet_id
|
||||
tags = merge(var.tags, var.agents_tags)
|
||||
type = var.agents_type
|
||||
ultra_ssd_enabled = var.ultra_ssd_enabled
|
||||
|
|
|
@ -379,6 +379,12 @@ variable "os_disk_type" {
|
|||
nullable = false
|
||||
}
|
||||
|
||||
variable "pod_subnet_id" {
|
||||
type = string
|
||||
description = "(Optional) The ID of the Subnet where the pods in the default Node Pool should exist. Changing this forces a new resource to be created."
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "private_cluster_enabled" {
|
||||
type = bool
|
||||
description = "If true cluster API server will be exposed only on internal IP address and available only in cluster vnet."
|
||||
|
|
Загрузка…
Ссылка в новой задаче