Re: Mark an application instance as not ready via API


Dieu Cao <dcao@...>
 

I believe you should be able to set an http healthcheck to return 200 when your application is ready.
You could read more about that here:

-Dieu


On Tue, Jan 15, 2019 at 1:13 PM Mathias Essenpreis <mathias.essenpreis@...> wrote:

Hi,

Is it possible to tell the cloud controller via API and with this the GoRouter that a certain instance of an app is not able/ready to receive any new requests? Meaning that the GoRouter would not forward any new requests to this instance.

 

Other way round: Is it possible to remove single app instances from a route? I think it isn’t, didn’t find an API call for it.

Other way round #2: Would it be possible to give an application an application a grace time in which it will not be targeted with new requests for a period of time where it could e.g. update itself or do other housekeeping things

 

 

Regards,

Mathias

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.