You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2018/01/05 16:27:21 UTC

mesos git commit: Updated health check doc with 3xx redirects.

Repository: mesos
Updated Branches:
  refs/heads/master 625189058 -> f44a2d783


Updated health check doc with 3xx redirects.

Review: https://reviews.apache.org/r/64980/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f44a2d78
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f44a2d78
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/f44a2d78

Branch: refs/heads/master
Commit: f44a2d783413ce408aee9a99611a21f58307250c
Parents: 6251890
Author: Alexander Rukletsov <ru...@gmail.com>
Authored: Fri Jan 5 17:27:02 2018 +0100
Committer: Till Toenshoff <to...@me.com>
Committed: Fri Jan 5 17:27:02 2018 +0100

----------------------------------------------------------------------
 docs/health-checks.md | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/f44a2d78/docs/health-checks.md
----------------------------------------------------------------------
diff --git a/docs/health-checks.md b/docs/health-checks.md
index b9b6327..119d149 100644
--- a/docs/health-checks.md
+++ b/docs/health-checks.md
@@ -215,6 +215,9 @@ routeable interface it might be listening on. Field `port` must specify an
 actual port the task is listening on, not a mapped one. The result of the check
 is the HTTP status code of the response.
 
+Built-in executors follow HTTP `3xx` redirects; custom executors may employ a
+different strategy.
+
 If necessary, executors enter the task's network namespace prior to launching
 the `curl` command.
 
@@ -386,9 +389,9 @@ listening on. The `scheme` field supports `"http"` and `"https"` values only.
 Field `port` must specify an actual port the task is listening on, not a mapped
 one.
 
-Built-in executors treat status codes between `200` and `399` as success; custom
-executors may employ a different strategy, e.g., leveraging the `statuses`
-field.
+Built-in executors follow HTTP `3xx` redirects and treat status codes between
+`200` and `399` as success; custom executors may employ a different strategy,
+e.g., leveraging the `statuses` field.
 
 **NOTE:** Setting `HealthCheck.HTTPCheckInfo.statuses` has no effect on the
 built-in executors.