aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jco...@apache.org
Subject aurora git commit: Add a NEWS entry about shell health checks and HealthCheckConfig deprecations.
Date Thu, 17 Dec 2015 21:15:51 GMT
Repository: aurora
Updated Branches:
  refs/heads/master b3f100966 -> 4aa639f31


Add a NEWS entry about shell health checks and HealthCheckConfig deprecations.

Reviewed at https://reviews.apache.org/r/41531/


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

Branch: refs/heads/master
Commit: 4aa639f31cc5873ec90b7c116325d041a01b539c
Parents: b3f1009
Author: Joshua Cohen <jcohen@apache.org>
Authored: Thu Dec 17 15:15:17 2015 -0600
Committer: Joshua Cohen <jcohen@apache.org>
Committed: Thu Dec 17 15:15:17 2015 -0600

----------------------------------------------------------------------
 NEWS                            | 5 +++++
 docs/configuration-reference.md | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/4aa639f3/NEWS
----------------------------------------------------------------------
diff --git a/NEWS b/NEWS
index 89ebe0d..24890b5 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,11 @@
 - The field 'JobUpdateSettings.maxWaitToInstanceRunningMs' (UpdateConfig.restart_threshold
in
   client-side configuration) is now deprecated.  This setting was brittle in practice, and
is
   ignored by the 0.11.0 scheduler.
+- Added support for shell-based health checkers in addition to HTTP health checkers. In concert
with
+  this change the `HealthCheckConfig` schema has been restructured to more cleanly allow
configuring
+  varied health checkers. The following fields from `HealthCheckConfig` are now deprecated:
+  `endpoint`, `expected_response`, `expected_response_code` in favor of setting them as part
of an
+  `HttpHealthChecker.`
 
 0.10.0
 ------

http://git-wip-us.apache.org/repos/asf/aurora/blob/4aa639f3/docs/configuration-reference.md
----------------------------------------------------------------------
diff --git a/docs/configuration-reference.md b/docs/configuration-reference.md
index ba486d8..12c8021 100644
--- a/docs/configuration-reference.md
+++ b/docs/configuration-reference.md
@@ -393,7 +393,7 @@ Parameters for controlling a task's health checks via HTTP or a shell
command.
 | ```initial_interval_secs```    | Integer   | Initial delay for performing a health check.
(Default: 15)
 | ```interval_secs```            | Integer   | Interval on which to check the task's health.
(Default: 10)
 | ```max_consecutive_failures``` | Integer   | Maximum number of consecutive failures that
will be tolerated before considering a task unhealthy (Default: 0)
-| ```timeout_secs```             | Integer   | HTTP request timeout. (Default: 1)
+| ```timeout_secs```             | Integer   | Health check timeout. (Default: 1)
 
 ### HealthCheckerConfig Objects
 | param                          | type                | description


Mime
View raw message