add custom metric to hpa template

This commit is contained in:
Oleksandr Semak 2020-06-11 18:34:31 -04:00
parent 2d51fbf6fe
commit baed5c6061
4 changed files with 30 additions and 11 deletions

View file

@ -243,6 +243,17 @@ controller:
targetCPUUtilizationPercentage: 50
targetMemoryUtilizationPercentage: 50
autoscalingTemplate: []
# Custom or additional autoscaling metrics
# ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-custom-metrics
# - type: Pods
# pods:
# metric:
# name: nginx_ingress_controller_nginx_process_requests_total
# target:
# type: AverageValue
# averageValue: 10000m
## Enable mimalloc as a drop-in replacement for malloc.
## ref: https://github.com/microsoft/mimalloc
##