Skip to content

Commit 624e8bc

Browse files
committed
Remove node count
1 parent be49402 commit 624e8bc

File tree

4 files changed

+0
-63
lines changed

4 files changed

+0
-63
lines changed

scenarios/AksOpenAiTerraform/terraform/main.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,6 @@ module "aks_cluster" {
145145
system_node_pool_enable_host_encryption = var.system_node_pool_enable_host_encryption
146146
system_node_pool_enable_node_public_ip = var.system_node_pool_enable_node_public_ip
147147
system_node_pool_max_pods = var.system_node_pool_max_pods
148-
system_node_pool_max_count = var.system_node_pool_max_count
149-
system_node_pool_min_count = var.system_node_pool_min_count
150-
system_node_pool_node_count = var.system_node_pool_node_count
151148
system_node_pool_os_disk_type = var.system_node_pool_os_disk_type
152149
tags = var.tags
153150
network_dns_service_ip = var.network_dns_service_ip
@@ -192,9 +189,6 @@ module "node_pool" {
192189
enable_node_public_ip = var.user_node_pool_enable_node_public_ip
193190
orchestrator_version = var.kubernetes_version
194191
max_pods = var.user_node_pool_max_pods
195-
max_count = var.user_node_pool_max_count
196-
min_count = var.user_node_pool_min_count
197-
node_count = var.user_node_pool_node_count
198192
os_type = var.user_node_pool_os_type
199193
priority = var.user_node_pool_priority
200194
tags = var.tags

scenarios/AksOpenAiTerraform/terraform/modules/aks/main.tf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ resource "azurerm_kubernetes_cluster" "aks_cluster" {
4848
enable_host_encryption = var.system_node_pool_enable_host_encryption
4949
enable_node_public_ip = var.system_node_pool_enable_node_public_ip
5050
max_pods = var.system_node_pool_max_pods
51-
max_count = var.system_node_pool_max_count
52-
min_count = var.system_node_pool_min_count
53-
node_count = var.system_node_pool_node_count
5451
os_disk_type = var.system_node_pool_os_disk_type
5552
tags = var.tags
5653
}

scenarios/AksOpenAiTerraform/terraform/modules/aks/variables.tf

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -170,24 +170,6 @@ variable "system_node_pool_os_disk_type" {
170170
default = "Ephemeral"
171171
}
172172

173-
variable "system_node_pool_max_count" {
174-
description = "(Required) The maximum number of nodes which should exist within this Node Pool. Valid values are between 0 and 1000 and must be greater than or equal to min_count."
175-
type = number
176-
default = 10
177-
}
178-
179-
variable "system_node_pool_min_count" {
180-
description = "(Required) The minimum number of nodes which should exist within this Node Pool. Valid values are between 0 and 1000 and must be less than or equal to max_count."
181-
type = number
182-
default = 3
183-
}
184-
185-
variable "system_node_pool_node_count" {
186-
description = "(Optional) The initial number of nodes which should exist within this Node Pool. Valid values are between 0 and 1000 and must be a value in the range min_count - max_count."
187-
type = number
188-
default = 3
189-
}
190-
191173
variable "log_analytics_workspace_id" {
192174
description = "(Optional) The ID of the Log Analytics Workspace which the OMS Agent should send data to. Must be present if enabled is true."
193175
type = string

scenarios/AksOpenAiTerraform/terraform/variables.tf

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -242,24 +242,6 @@ variable "system_node_pool_os_disk_type" {
242242
default = "Ephemeral"
243243
}
244244

245-
variable "system_node_pool_max_count" {
246-
description = "(Required) The maximum number of nodes which should exist within this Node Pool. Valid values are between 0 and 1000 and must be greater than or equal to min_count."
247-
type = number
248-
default = 10
249-
}
250-
251-
variable "system_node_pool_min_count" {
252-
description = "(Required) The minimum number of nodes which should exist within this Node Pool. Valid values are between 0 and 1000 and must be less than or equal to max_count."
253-
type = number
254-
default = 3
255-
}
256-
257-
variable "system_node_pool_node_count" {
258-
description = "(Optional) The initial number of nodes which should exist within this Node Pool. Valid values are between 0 and 1000 and must be a value in the range min_count - max_count."
259-
type = number
260-
default = 3
261-
}
262-
263245
variable "user_node_pool_name" {
264246
description = "(Required) Specifies the name of the node pool."
265247
type = string
@@ -338,24 +320,6 @@ variable "user_node_pool_priority" {
338320
default = "Regular"
339321
}
340322

341-
variable "user_node_pool_max_count" {
342-
description = "(Required) The maximum number of nodes which should exist within this Node Pool. Valid values are between 0 and 1000 and must be greater than or equal to min_count."
343-
type = number
344-
default = 10
345-
}
346-
347-
variable "user_node_pool_min_count" {
348-
description = "(Required) The minimum number of nodes which should exist within this Node Pool. Valid values are between 0 and 1000 and must be less than or equal to max_count."
349-
type = number
350-
default = 3
351-
}
352-
353-
variable "user_node_pool_node_count" {
354-
description = "(Optional) The initial number of nodes which should exist within this Node Pool. Valid values are between 0 and 1000 and must be a value in the range min_count - max_count."
355-
type = number
356-
default = 3
357-
}
358-
359323
variable "storage_account_kind" {
360324
description = "(Optional) Specifies the account kind of the storage account"
361325
default = "StorageV2"

0 commit comments

Comments
 (0)