I think there’s one config in the rep job:
description: "EXPERIMENTAL: time in seconds between signalling a container to shutdown gracefully and stopping it forcefully. Should not be less than 10."
if you are using the open source version of CF, I think you can overrite it under this path:
- name: rep
And if you are using the PCF, I think you can use the ops manager to override the value if it provided one way to do this.
From: <cf-dev@...> on behalf of Jonathan Stockley <jstockle@...>
According to https://docs.cloudfoundry.org/devguide/deploy-apps/prepare-to-deploy.html#moving-apps an app instance has only 10 seconds to finish processing a request before being killed off.
I have an app that does document rendition generation and it can take upwards of 10 minutes for long documents.
Is the 10 seconds grace period configurable?