Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jobs support to CLI #2262

Merged
merged 1 commit into from
May 6, 2020
Merged

Add jobs support to CLI #2262

merged 1 commit into from
May 6, 2020

Commits on Apr 24, 2020

  1. 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>
    dperny committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    9375644 View commit details
    Browse the repository at this point in the history