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:
app: odoo
spec:
terminationGracePeriodSeconds: 0 # no need to shutdown gracefully
# let Odoo stop gracefully to disconnect from postgres
terminationGracePeriodSeconds: 30
containers:
- name: odoo
image: odoo