[
https://issues.apache.org/jira/browse/MESOS-6517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15839523#comment-15839523
]
haosdent commented on MESOS-6517:
---------------------------------
Hi, [~alexr][~avinash.mesos][~gkleiman][~jieyu] Should we add {{ip}} or
{{hostname}} field in {{HTTPCheckInfo}} to address this?
Refer to the discussion at
http://search-hadoop.com/m/Mesos/0Vlr6jCHiaMC2pm1?subj=Re+customized+IP+for+health+check
It looks like this ticket is invalid.
> Health checking only on 127.0.0.1 is limiting.
> ----------------------------------------------
>
> Key: MESOS-6517
> URL: https://issues.apache.org/jira/browse/MESOS-6517
> Project: Mesos
> Issue Type: Improvement
> Reporter: Alexander Rukletsov
> Labels: health-check, mesosphere
>
> As of Mesos 1.1.0, HTTP and TCP health checks always use 127.0.0.1 as the
> target IP. This is not configurable. As a result, tasks should listen on all
> interfaces if they want to support HTTP and TCP health checks. However, there
> might be some cases where tasks or containers will end up binding to a
> specific IP address.
> To make health checking more robust we can:
> * look at all interfaces in a given network namespace and do health check on
> all the IP addresses;
> * allow users to specify the IP to health check;
> * deduce the target IP from task's discovery information.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)