Do not hard kill deployments

To leave them a change to close postgres connections.
This commit is contained in:
Stéphane Bidoul 2021-11-16 21:33:47 +01:00
parent 31beee0a47
commit 442b4e437d
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92

View file

@ -16,7 +16,8 @@ spec:
labels: labels:
app: odoo app: odoo
spec: spec:
terminationGracePeriodSeconds: 0 # no need to shutdown gracefully # let Odoo stop gracefully to disconnect from postgres
terminationGracePeriodSeconds: 30
containers: containers:
- name: odoo - name: odoo
image: odoo image: odoo