mirror of
https://github.com/bitnami/charts.git
synced 2026-03-09 07:27:18 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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` | `""` |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user