Skip to content

Commit e9a3738

Browse files
Sanmeshclaude
authored andcommitted
fix(ingress/nginx_gateway_fabric_legacy): default control-plane min_replicas to 1
Align the legacy aws/azure/gcp NGF ingress modules with the utility module: control-plane autoscaling min_replicas default 2 -> 1 (schema default + sample spec). A single steady-state control plane avoids the multi-replica config-divergence behind the intermittent 502s; HPA still scales up under load. Data-plane scaling unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a30ade6 commit e9a3738

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

modules/ingress/nginx_gateway_fabric_legacy_aws/1.0/facets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ spec:
176176
type: integer
177177
title: Minimum Replicas
178178
description: Minimum number of controller pods (HPA lower bound)
179-
default: 2
179+
default: 1
180180
max_replicas:
181181
type: integer
182182
title: Maximum Replicas
@@ -946,7 +946,7 @@ sample:
946946
memory: 512Mi
947947
control_plane:
948948
scaling:
949-
min_replicas: 2
949+
min_replicas: 1
950950
max_replicas: 3
951951
target_cpu_utilization_percentage: 70
952952
target_memory_utilization_percentage: 80

modules/ingress/nginx_gateway_fabric_legacy_azure/1.0/facets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ spec:
173173
type: integer
174174
title: Minimum Replicas
175175
description: Minimum number of controller pods (HPA lower bound)
176-
default: 2
176+
default: 1
177177
max_replicas:
178178
type: integer
179179
title: Maximum Replicas
@@ -943,7 +943,7 @@ sample:
943943
memory: 512Mi
944944
control_plane:
945945
scaling:
946-
min_replicas: 2
946+
min_replicas: 1
947947
max_replicas: 3
948948
target_cpu_utilization_percentage: 70
949949
target_memory_utilization_percentage: 80

modules/ingress/nginx_gateway_fabric_legacy_gcp/1.0/facets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ spec:
173173
type: integer
174174
title: Minimum Replicas
175175
description: Minimum number of controller pods (HPA lower bound)
176-
default: 2
176+
default: 1
177177
max_replicas:
178178
type: integer
179179
title: Maximum Replicas
@@ -943,7 +943,7 @@ sample:
943943
memory: 512Mi
944944
control_plane:
945945
scaling:
946-
min_replicas: 2
946+
min_replicas: 1
947947
max_replicas: 3
948948
target_cpu_utilization_percentage: 70
949949
target_memory_utilization_percentage: 80

0 commit comments

Comments
 (0)