Re: healthcheck task?

2016-12-07 Thread Alex Rukletsov
We currently do not provide necessary primitives to run sidecar tasks (which is necessary to ensure your "health check" task is run alongside your "payload" task). However, as you have mentioned yourself, some frameworks do provide health check functionality, e.g., Marathon. In Mesos 1.2 (also

Re: healthcheck task?

2016-12-07 Thread Victor L
I found javadocs for package "Protos.HealthCheck": http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.HealthCheck.html but not a single example of how to use it On Wed, Dec 7, 2016 at 11:22 AM, Alex Rukletsov wrote: > What exactly do you mean under "health

Re: healthcheck task?

2016-12-07 Thread Victor L
My app is supposed to accept tcp connections on the port 3309 after successful deployment. The mesos task to periodically check for that i am referring as "healthcheck task". My understanding is that you can do the same in Marathon app deployments with json code like: "portIndex": $PORT1,

Re: healthcheck task?

2016-12-07 Thread Alex Rukletsov
What exactly do you mean under "health check task"? On Wed, Dec 7, 2016 at 5:09 PM, Victor L wrote: > Can someone recommend simple example of how to add healthcheck task to > java framework? > Thanks, > >