diff --git a/src/runboat/kubefiles/deployment.yaml b/src/runboat/kubefiles/deployment.yaml index c583c53..42cc9e7 100644 --- a/src/runboat/kubefiles/deployment.yaml +++ b/src/runboat/kubefiles/deployment.yaml @@ -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