Do not hard kill deployments
To leave them a change to close postgres connections.
This commit is contained in:
parent
31beee0a47
commit
442b4e437d
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue