Skip to content

Commit 13f67c4

Browse files
authored
Update values.yaml
add: resources for nginx
1 parent e1f0293 commit 13f67c4

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

charts/nginx-gateway-fabric/values.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,37 @@ nginxGateway:
153153
# -- The topology spread constraints for the NGINX Gateway Fabric control plane pod.
154154
topologySpreadConstraints: []
155155

156+
autoscaling:
157+
enabled: false
158+
annotations: {}
159+
minReplicas: 1
160+
maxReplicas: 11
161+
targetCPUUtilizationPercentage: 50
162+
targetMemoryUtilizationPercentage: 50
163+
behavior: {}
164+
# scaleDown:
165+
# stabilizationWindowSeconds: 300
166+
# policies:
167+
# - type: Pods
168+
# value: 1
169+
# periodSeconds: 180
170+
# scaleUp:
171+
# stabilizationWindowSeconds: 300
172+
# policies:
173+
# - type: Pods
174+
# value: 2
175+
# periodSeconds: 60
176+
autoscalingTemplate: []
177+
# Custom or additional autoscaling metrics
178+
# ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-custom-metrics
179+
# - type: Pods
180+
# pods:
181+
# metric:
182+
# name: nginx_gateway_fabric_nginx_process_requests_total
183+
# target:
184+
# type: AverageValue
185+
# averageValue: 10000m
186+
156187
metrics:
157188
# -- Enable exposing metrics in the Prometheus format.
158189
enable: true
@@ -218,6 +249,8 @@ nginx:
218249
# plane will copy these secrets into any namespace where NGINX is deployed.
219250
imagePullSecrets: []
220251

252+
resources: {}
253+
221254
# Configuration for NGINX Plus usage reporting.
222255
usage:
223256
# -- The name of the Secret containing the JWT for NGINX Plus usage reporting. Must exist in the same namespace

0 commit comments

Comments
 (0)