mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/fluentd] Support higher termination grace period (#16510)
* Suuport higher termination grace period Signed-off-by: Sharon <sharonv@perion.com> * bump chart version Signed-off-by: Sharon <sharonv@perion.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c595c7c640
commit
9b33d095e5
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: A Fluentd Elasticsearch Helm chart for Kubernetes.
|
||||
icon: https://raw.githubusercontent.com/fluent/fluentd-docs/master/public/logo/Fluentd_square.png
|
||||
name: fluentd
|
||||
version: 2.0.1
|
||||
version: 2.0.2
|
||||
appVersion: v2.4.0
|
||||
home: https://www.fluentd.org/
|
||||
sources:
|
||||
|
||||
@@ -77,6 +77,7 @@ Parameter | Description | Default
|
||||
`autoscaling.minReplicas` | Set minimum number of replicas | `2`
|
||||
`autoscaling.maxReplicas` | Set maximum number of replicas | `5`
|
||||
`autoscaling.metrics` | metrics used for autoscaling | See [values.yaml](values.yaml)
|
||||
`terminationGracePeriodSeconds` | Optional duration in seconds the pod needs to terminate gracefully | `30`
|
||||
`metrics.enabled` | Set this to `true` to enable Prometheus metrics HTTP endpoint | `false`
|
||||
`metrics.service.port` | Prometheus metrics HTTP endpoint port | `24231`
|
||||
`metrics.serviceMonitor.enabled` | Set this to `true` to create ServiceMonitor for Prometheus operator | `false`
|
||||
|
||||
@@ -38,6 +38,7 @@ spec:
|
||||
- name: {{ $pullSecret }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
||||
@@ -186,3 +186,7 @@ autoscaling:
|
||||
target:
|
||||
type: Utilization
|
||||
averageUtilization: 60
|
||||
|
||||
# Consider to set higher value when using in conjuction with autoscaling
|
||||
# Full description about this field: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#pod-v1-core
|
||||
terminationGracePeriodSeconds: 30
|
||||
|
||||
Reference in New Issue
Block a user