Skip to content

Commit ca0383c

Browse files
committed
Code Review
1 parent aff80d8 commit ca0383c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/nginx-gateway-fabric/values.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
"type": "boolean"
408408
},
409409
"image": {
410-
"description": "Custom or additional autoscaling metrics\nref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-custom-metrics\n- type: Pods\n pods:\n metric:\n name: nginx_gateway_fabric_nginx_process_requests_total\n target:\n type: AverageValue\n averageValue: 10000m",
410+
"description": "Custom or additional autoscaling metrics\nref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-custom-metrics\n- type: Pods\n pods:\n metric:\n name: nginx_gateway_fabric_nginx_process_requests_total\n target:\n type: nginx_http_requests_total\n averageValue: 400",
411411
"properties": {
412412
"pullPolicy": {
413413
"default": "Always",

charts/nginx-gateway-fabric/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ nginxGateway:
184184
# - type: Pods
185185
# pods:
186186
# metric:
187-
# name: http_requests
187+
# name: container_memory_usage_bytes
188188
# target:
189189
# type: AverageValue
190-
# averageValue: "100"
190+
# averageValue: "400Mi"
191191

192192
metrics:
193193
# -- Enable exposing metrics in the Prometheus format.
@@ -257,8 +257,8 @@ nginx:
257257
# metric:
258258
# name: nginx_gateway_fabric_nginx_process_requests_total
259259
# target:
260-
# type: AverageValue
261-
# averageValue: 10000m
260+
# type: nginx_http_requests_total
261+
# averageValue: 400
262262
image:
263263
# -- The NGINX image to use.
264264
repository: ghcr.io/nginx/nginx-gateway-fabric/nginx

0 commit comments

Comments
 (0)