Run an "exec" command on a container with the intent that it will gracefully stop the container from within. We will then poll for a given amount of time to check if the container is stopped and if not then attempt to issue a stop command on the container.
| Fields inherited from class | Fields |
|---|---|
class DefaultTask |
TASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION, TASK_CONSTRUCTOR_ARGS |
| Type | Name and description |
|---|---|
Property<Integer> |
awaitStatusTimeoutStop timeout in seconds. |
ExecProbe |
execStopProbe |
| Type Params | Return Type | Name and description |
|---|---|---|
|
def |
execStopProbe(long pollTime, long pollInterval)Define the livenessProbe options for this exec/stop. |
|
void |
runRemoteCommand() |