[bitnami/fluentd] add HPA behavior property to aggregator.autoscaling values (#24516)

* fluentd: add HPA behavior property to aggregator.autoscaling values

Signed-off-by: Alexandre Leroy <alexandre.leroy@vibe.co>

* fix: bump Helm chart version to be a minor release instead of patch

Signed-off-by: Alexandre Leroy <alexandre.leroy@vibe.co>

---------

Signed-off-by: Alexandre Leroy <alexandre.leroy@vibe.co>
This commit is contained in:
Alex Leroy
2024-03-20 13:50:29 +01:00
committed by GitHub
parent 586bbc45f6
commit fb2eebed1a
4 changed files with 8 additions and 1 deletions

View File

@@ -30,4 +30,4 @@ maintainers:
name: fluentd
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/fluentd
version: 6.0.0
version: 6.1.0

View File

@@ -456,6 +456,7 @@ As an alternative, you can use of the preset configurations for pod affinity, po
| `aggregator.autoscaling.minReplicas` | Minimum number of replicas for the HPA | `2` |
| `aggregator.autoscaling.maxReplicas` | Maximum number of replicas for the HPA | `5` |
| `aggregator.autoscaling.metrics` | Metrics for the HPA to manage the scaling | `[]` |
| `aggregator.autoscaling.behavior` | HPA Behavior | `{}` |
| `aggregator.persistence.enabled` | Enable persistence volume for the aggregator | `false` |
| `aggregator.persistence.storageClass` | Persistent Volume storage class | `""` |
| `aggregator.persistence.accessModes` | Persistent Volume access modes | `["ReadWriteOnce"]` |

View File

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

View File

@@ -1289,6 +1289,7 @@ aggregator:
## @param aggregator.autoscaling.minReplicas Minimum number of replicas for the HPA
## @param aggregator.autoscaling.maxReplicas Maximum number of replicas for the HPA
## @param aggregator.autoscaling.metrics [array] Metrics for the HPA to manage the scaling
## @param aggregator.autoscaling.behavior HPA Behavior
##
autoscaling:
enabled: false
@@ -1307,6 +1308,7 @@ aggregator:
target:
type: Utilization
averageUtilization: 60
behavior: {}
## Persist data to a persistent volume
##
persistence: