Skip to content

Commit 9a1b2cc

Browse files
feat(aws_eks): add facets_dedicated desired_nodes to spec
Optional desired_nodes for the facets_dedicated nodepool. Falls back to min_nodes when unset. Applied at node pool creation only (managed node group ignores desired_size on updates); bounded to [min_nodes, max_nodes]. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c2fa679 commit 9a1b2cc

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

modules/kubernetes_cluster/aws_eks/0.2/facets.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,18 @@ spec:
218218
field: spec.nodepools.facets_dedicated.enable
219219
values: [true]
220220
x-ui-overrides-only: true
221+
desired_nodes:
222+
title: Desired Nodes
223+
description: Desired number of worker nodes. Falls back to Min Nodes
224+
when unset. Applied only at node pool creation (ignored on later
225+
updates), and bounded to [Min Nodes, Max Nodes].
226+
type: integer
227+
minimum: 1
228+
maximum: 200
229+
x-ui-visible-if:
230+
field: spec.nodepools.facets_dedicated.enable
231+
values: [true]
232+
x-ui-overrides-only: true
221233
instance_type:
222234
title: Instance Type
223235
description: Instance type for Facets Dedicated Node Pool
@@ -256,7 +268,7 @@ spec:
256268
values: [true]
257269
required: ["instance_type"]
258270
x-ui-order: [enable, instance_type, node_lifecycle_type, root_disk_volume,
259-
max_nodes, min_nodes, ami_id, ami_name_filter, ami_owner_id]
271+
max_nodes, min_nodes, desired_nodes, ami_id, ami_name_filter, ami_owner_id]
260272
ondemand_fallback:
261273
title: Ondemand Fallback Nodepool Spec
262274
description: Specifications of Ondemand Fallback Nodepool

0 commit comments

Comments
 (0)