[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:
Sharon Vendrov
2019-08-22 06:52:32 -07:00
committed by Kubernetes Prow Robot
parent c595c7c640
commit 9b33d095e5
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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`
+1
View File
@@ -38,6 +38,7 @@ spec:
- name: {{ $pullSecret }}
{{- end }}
{{- end }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
+4
View File
@@ -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