mirror of https://github.com/docker/cli.git
9375644e34
* 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> |
||
---|---|---|
.. | ||
progress | ||
testdata | ||
client_test.go | ||
cmd.go | ||
create.go | ||
create_test.go | ||
formatter.go | ||
formatter_test.go | ||
generic_resource_opts.go | ||
generic_resource_opts_test.go | ||
helpers.go | ||
inspect.go | ||
inspect_test.go | ||
list.go | ||
list_test.go | ||
logs.go | ||
opts.go | ||
opts_test.go | ||
parse.go | ||
ps.go | ||
ps_test.go | ||
remove.go | ||
rollback.go | ||
rollback_test.go | ||
scale.go | ||
trust.go | ||
update.go | ||
update_test.go |