[bitnami/contour] Added suport for behavior on Envoy HPA (#18471)

Signed-off-by: Vitor Nascimento Jr <vitor.nascimento.jr@gmail.com>
This commit is contained in:
Vitor Nascimento
2023-08-17 06:44:51 -03:00
committed by GitHub
parent 91d0e6568d
commit f9f72a2c45
4 changed files with 8 additions and 1 deletions

View File

@@ -32,4 +32,4 @@ maintainers:
name: contour
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/contour
version: 12.2.8
version: 12.3.0

View File

@@ -230,6 +230,7 @@ helm uninstall my-release
| `envoy.autoscaling.maxReplicas` | Maximum number of Controller replicas | `11` |
| `envoy.autoscaling.targetCPU` | Target CPU utilization percentage | `""` |
| `envoy.autoscaling.targetMemory` | Target Memory utilization percentage | `""` |
| `envoy.autoscaling.behavior` | HPA Behavior | `{}` |
| `envoy.podAffinityPreset` | Envoy Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `envoy.podAntiAffinityPreset` | Envoy Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `envoy.nodeAffinityPreset.type` | Envoy Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |

View File

@@ -18,6 +18,10 @@ metadata:
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
spec:
{{- if .Values.envoy.autoscaling.behavior }}
behavior:
{{- toYaml .Values.envoy.autoscaling.behavior | nindent 4 }}
{{- end }}
scaleTargetRef:
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
kind: Deployment

View File

@@ -631,6 +631,7 @@ envoy:
## @param envoy.autoscaling.maxReplicas Maximum number of Controller replicas
## @param envoy.autoscaling.targetCPU Target CPU utilization percentage
## @param envoy.autoscaling.targetMemory Target Memory utilization percentage
## @param envoy.autoscaling.behavior HPA Behavior
##
autoscaling:
enabled: false
@@ -638,6 +639,7 @@ envoy:
maxReplicas: 11
targetCPU: ""
targetMemory: ""
behavior: {}
## @param envoy.podAffinityPreset Envoy Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard