Repository: aurora Updated Branches: refs/heads/master c66a9eeef -> 4869c02c8
HTTPLifecycleConfig to HttpLifecycleConfig typo Reviewed at https://reviews.apache.org/r/45206/ Project: http://git-wip-us.apache.org/repos/asf/aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/4869c02c Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/4869c02c Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/4869c02c Branch: refs/heads/master Commit: 4869c02c827fe1becc5091dbea58c80b18554277 Parents: c66a9ee Author: se choi <[email protected]> Authored: Wed Mar 23 07:03:29 2016 -0600 Committer: John Sirois <[email protected]> Committed: Wed Mar 23 07:03:29 2016 -0600 ---------------------------------------------------------------------- docs/configuration-reference.md | 10 +++++----- docs/task-lifecycle.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora/blob/4869c02c/docs/configuration-reference.md ---------------------------------------------------------------------- diff --git a/docs/configuration-reference.md b/docs/configuration-reference.md index 2362659..7bcf22d 100644 --- a/docs/configuration-reference.md +++ b/docs/configuration-reference.md @@ -533,13 +533,13 @@ See [Docker Command Line Reference](https://docs.docker.com/reference/commandlin ### LifecycleConfig Objects -*Note: The only lifecycle configuration supported is the HTTP lifecycle via the HTTPLifecycleConfig.* +*Note: The only lifecycle configuration supported is the HTTP lifecycle via the HttpLifecycleConfig.* param | type | description ----- | :----: | ----------- - ```http``` | HTTPLifecycleConfig | Configure the lifecycle manager to send lifecycle commands to the task via HTTP. + ```http``` | HttpLifecycleConfig | Configure the lifecycle manager to send lifecycle commands to the task via HTTP. -### HTTPLifecycleConfig Objects +### HttpLifecycleConfig Objects param | type | description ----- | :----: | ----------- @@ -549,7 +549,7 @@ See [Docker Command Line Reference](https://docs.docker.com/reference/commandlin #### graceful_shutdown_endpoint -If the Job is listening on the port as specified by the HTTPLifecycleConfig +If the Job is listening on the port as specified by the HttpLifecycleConfig (default: `health`), a HTTP POST request will be sent over localhost to this endpoint to request that the task gracefully shut itself down. This is a courtesy call before the `shutdown_endpoint` is invoked a fixed amount of @@ -557,7 +557,7 @@ time later. #### shutdown_endpoint -If the Job is listening on the port as specified by the HTTPLifecycleConfig +If the Job is listening on the port as specified by the HttpLifecycleConfig (default: `health`), a HTTP POST request will be sent over localhost to this endpoint to request as a final warning before being shut down. If the task does not shut down on its own after this, it will be forcefully killed http://git-wip-us.apache.org/repos/asf/aurora/blob/4869c02c/docs/task-lifecycle.md ---------------------------------------------------------------------- diff --git a/docs/task-lifecycle.md b/docs/task-lifecycle.md index e85e754..5d6456c 100644 --- a/docs/task-lifecycle.md +++ b/docs/task-lifecycle.md @@ -78,7 +78,7 @@ an identical replacement for it. In any case, the responsible executor on the slave follows an escalation sequence when killing a running task: - 1. If a `HTTPLifecycleConfig` is not present, skip to (4). + 1. If a `HttpLifecycleConfig` is not present, skip to (4). 2. Send a POST to the `graceful_shutdown_endpoint` and wait 5 seconds. 3. Send a POST to the `shutdown_endpoint` and wait 5 seconds. 4. Send SIGTERM (`kill`) and wait at most `finalization_wait` seconds.
