You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Hansen, Timothy" <ti...@verizon.com> on 2017/09/12 12:30:43 UTC
Re: [E] good evening
What type of health check would you like to do? In mesos you may use a command health check, http(s), or a tcp health check.
If you are running a command health check, it runs the specified command and looks for a return value of 0.
A http healthcheck hits an endpoint, and accepts for the codes from 200-399 as valid.
A tcp healthcheck attempts to connect to a port, success is if it can establish a connection, otherwise it's a failure.
The healthcheck you want depends largely on what type of task you are running. Is it a webserver? An API you've made? Is it a one off, long running task? Etc, a bit more detail is needed to help you out.
-------- Original Message --------
From: Incia Anand <h2...@goa.bits-pilani.ac.in>>
Date: Tue, Sep 12, 2017, 12:33 AM
To: "dev@mesos.apache.org<ma...@mesos.apache.org>" <de...@mesos.apache.org>>
Subject: [E] good evening
Im trying to study mesos for my project and i need to create some tasks and
do a health check on them. can you tell me the exact waay i should create
the tasks to do so