Drew Erny
9375644e34
Add jobs support to CLI
...
* Added two new modes accepted by the `--mode` flag
* `replicated-job` creates a replicated job
* `global-job` creates a global job.
* When using `replicated-job` mode, the `replicas` flag sets the
`TotalCompletions` parameter of the job. This is the total number of
tasks that will run
* Added a new flag, `max-concurrent`, for use with `replicated-job`
mode. This flag sets the `MaxConcurrent` parameter of the job, which
is the maximum number of replicas the job will run simultaneously.
* When using `replicated-job` or `global-job` mode, using any of the
update parameter flags will result in an error, as jobs cannot be
updated in the traditional sense.
* Updated the `docker service ls` UI to include the completion status
(completed vs total tasks) if the service is a job.
* Updated the progress bars UI for service creation and update to
support jobs. For jobs, there is displayed a bar covering the overall
progress of the job (the number of tasks completed over the total
number of tasks to complete).
* Added documentation explaining the use of the new flags, and of jobs
in general.
Signed-off-by: Drew Erny <derny@mirantis.com >
2020-04-24 11:22:10 -05:00
..
2020-03-19 15:15:23 +01:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:52:26 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:52:26 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:52:26 +02:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-04-24 12:39:24 +02:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:53:17 +02:00
2020-04-21 17:06:42 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:52:26 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:53:17 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:52:26 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:52:26 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:13:07 +02:00
2020-04-24 11:22:10 -05:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:52:26 +02:00
2020-04-24 11:22:10 -05:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:52:26 +02:00
2020-04-24 11:22:10 -05:00
2020-04-24 11:22:10 -05:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:53:17 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:53:17 +02:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:52:26 +02:00
2020-04-19 17:52:26 +02:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-03-19 15:15:23 +01:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:53:17 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00
2020-04-19 17:13:07 +02:00