[stable/nginx-ingress] add default values for autoscaler (#7560)

When using HorizontalPodAutoscaler it should have sane defaults
so that enabling should work out of the box.  Previously you had to
set the values that are commented out as well as setting enable to true.

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
This commit is contained in:
Paul Czarkowski
2018-09-06 07:09:01 -07:00
committed by k8s-ci-robot
parent ab118a16a8
commit 846587edbf
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: nginx-ingress
version: 0.28.1
version: 0.28.2
appVersion: 0.19.0
home: https://github.com/kubernetes/ingress-nginx
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
+4 -4
View File
@@ -145,10 +145,10 @@ controller:
autoscaling:
enabled: false
# minReplicas: 1
# maxReplicas: 11
# targetCPUUtilizationPercentage: 50
# targetMemoryUtilizationPercentage: 50
minReplicas: 1
maxReplicas: 11
targetCPUUtilizationPercentage: 50
targetMemoryUtilizationPercentage: 50
## Override NGINX template
customTemplate: