upgrade hpa api for default backend
This commit is contained in:
parent
d21ae2dbf6
commit
abed17dc40
3 changed files with 14 additions and 11 deletions
|
@ -455,6 +455,7 @@ Kubernetes: `>=1.20.0-0`
|
||||||
| controller.updateStrategy | object | `{}` | The update strategy to apply to the Deployment or DaemonSet # |
|
| controller.updateStrategy | object | `{}` | The update strategy to apply to the Deployment or DaemonSet # |
|
||||||
| controller.watchIngressWithoutClass | bool | `false` | Process Ingress objects without ingressClass annotation/ingressClassName field Overrides value for --watch-ingress-without-class flag of the controller binary Defaults to false |
|
| controller.watchIngressWithoutClass | bool | `false` | Process Ingress objects without ingressClass annotation/ingressClassName field Overrides value for --watch-ingress-without-class flag of the controller binary Defaults to false |
|
||||||
| defaultBackend.affinity | object | `{}` | |
|
| defaultBackend.affinity | object | `{}` | |
|
||||||
|
| defaultBackend.autoscaling.apiVersion | string | `"autoscaling/v2"` | |
|
||||||
| defaultBackend.autoscaling.annotations | object | `{}` | |
|
| defaultBackend.autoscaling.annotations | object | `{}` | |
|
||||||
| defaultBackend.autoscaling.enabled | bool | `false` | |
|
| defaultBackend.autoscaling.enabled | bool | `false` | |
|
||||||
| defaultBackend.autoscaling.maxReplicas | int | `2` | |
|
| defaultBackend.autoscaling.maxReplicas | int | `2` | |
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if and .Values.defaultBackend.enabled .Values.defaultBackend.autoscaling.enabled }}
|
{{- if and .Values.defaultBackend.enabled .Values.defaultBackend.autoscaling.enabled }}
|
||||||
apiVersion: autoscaling/v2beta1
|
apiVersion: {{ .Values.controller.autoscaling.apiVersion }}
|
||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
|
@ -826,16 +826,18 @@ defaultBackend:
|
||||||
# - name: copy-portal-skins
|
# - name: copy-portal-skins
|
||||||
# emptyDir: {}
|
# emptyDir: {}
|
||||||
|
|
||||||
autoscaling:
|
autoscaling:
|
||||||
annotations: {}
|
annotations: {}
|
||||||
enabled: false
|
enabled: false
|
||||||
minReplicas: 1
|
minReplicas: 1
|
||||||
maxReplicas: 2
|
maxReplicas: 2
|
||||||
targetCPUUtilizationPercentage: 50
|
targetCPUUtilizationPercentage: 50
|
||||||
targetMemoryUtilizationPercentage: 50
|
targetMemoryUtilizationPercentage: 50
|
||||||
service:
|
|
||||||
annotations: {}
|
service:
|
||||||
# clusterIP: ""
|
annotations: {}
|
||||||
|
|
||||||
|
# clusterIP: ""
|
||||||
|
|
||||||
# -- List of IP addresses at which the default backend service is available
|
# -- List of IP addresses at which the default backend service is available
|
||||||
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
||||||
|
|
Loading…
Reference in a new issue