mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/postgresql] Add terminationGracePeriodSeconds parameter. (#8165)
30 seconds by default might not be enough in some cases. Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
This commit is contained in:
committed by
k8s-ci-robot
parent
b6f04fa4c9
commit
68ec4ff1a2
@@ -1,5 +1,5 @@
|
||||
name: postgresql
|
||||
version: 0.18.2
|
||||
version: 0.19.0
|
||||
appVersion: 9.6.2
|
||||
description: Object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
|
||||
keywords:
|
||||
|
||||
@@ -83,6 +83,7 @@ The following table lists the configurable parameters of the PostgreSQL chart an
|
||||
| `nodeSelector` | Node labels for pod assignment | {} |
|
||||
| `affinity` | Affinity settings for pod assignment | {} |
|
||||
| `tolerations` | Toleration labels for pod assignment | [] |
|
||||
| `terminationGracePeriodSeconds` | Optional duration in seconds the pod needs to terminate gracefully | `nil` |
|
||||
| `probes.liveness.initialDelay` | Liveness probe initial delay | `60` |
|
||||
| `probes.liveness.timeoutSeconds` | Liveness probe timeout seconds | `5` |
|
||||
| `probes.liveness.failureThreshold` | Liveness probe failure threshold | `6` |
|
||||
|
||||
@@ -47,6 +47,9 @@ spec:
|
||||
{{- if .Values.schedulerName }}
|
||||
schedulerName: "{{ .Values.schedulerName }}"
|
||||
{{- end }}
|
||||
{{- if .Values.terminationGracePeriodSeconds }}
|
||||
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "postgresql.fullname" . }}
|
||||
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
|
||||
|
||||
@@ -43,6 +43,11 @@ usePasswordFile: false
|
||||
##
|
||||
# schedulerName:
|
||||
|
||||
## Optional duration in seconds the pod needs to terminate gracefully.
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
|
||||
##
|
||||
# terminationGracePeriodSeconds: 30
|
||||
|
||||
## Specify runtime config parameters as a dict, using camelCase, e.g.
|
||||
## {"sharedBuffers": "500MB"}
|
||||
## ref: https://www.postgresql.org/docs/current/static/runtime-config.html
|
||||
|
||||
Reference in New Issue
Block a user