Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Disable UnreachableStrategy for resident tasks
Browse files Browse the repository at this point in the history
Summary:
Require disabled for resident tasks. Fixes #5163. Partially addresses

Test Plan: create resident task. Make it get lost. Ensure that it
doesn't come go inactive.

Subscribers: marathon-team

Differential Revision: https://phabricator.mesosphere.com/D488
  • Loading branch information
Tim Harper committed Feb 16, 2017
1 parent dad4e1f commit 55f0b66
Show file tree
Hide file tree
Showing 39 changed files with 696 additions and 388 deletions.
15 changes: 7 additions & 8 deletions docs/docs/rest-api/public/api/v2/types/unreachableStrategy.raml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#%RAML 1.0 Library
types:
UnreachableStrategy:
UnreachableStrategy: (UnreachableDisabled | UnreachableEnabled)
UnreachableDisabled:
type: string
enum: [ disabled ]
UnreachableEnabled:
type: object
properties:
inactiveAfterSeconds?:
Expand All @@ -13,8 +17,7 @@ types:
as inactive. This will trigger a new instance launch. The original task is not
expunged yet. Must be less than expungeAfterSeconds.
The default value is set to 5 minutes for ephemeral tasks (300 seconds).
The default value is set to 1 hour for resident tasks (3600 seconds).
The default value is set to 5 minutes (300 seconds).
expungeAfterSeconds?:
type: integer
Expand All @@ -26,8 +29,4 @@ types:
it will be killed if it ever comes back. Instances are usually marked as unreachable before they are expunged
but they don't have to. This value is required to be greater than inactiveAfterSeconds.
The default value is set to 10 minutes for ephemeral tasks (600 seconds).
The default value is set to 7 days for resident tasks (604800 seconds).
If the instance has any persistent volumes associated with it, then they will be destroyed and associated data
will be deleted.
The default value is set to 10 minutes (600 seconds).
Loading

0 comments on commit 55f0b66

Please sign in to comment.