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

Issue 698 - Implement nomad restart JOBID and nomad run -restart jobfile #3949

Closed
wants to merge 2 commits into from

Commits on May 28, 2018

  1. Fixing minor comment mistake

    maihde committed May 28, 2018
    Configuration menu
    Copy the full SHA
    e739491 View commit details
    Browse the repository at this point in the history
  2. Implementation of job restart logic

    This feature is useful because there are instances where you wish to
    restart the existing job definition, triggering any update/canary logic
    that exists.
    
    There are two ways to restart a job:
    
    `nomad run -restart jobfile.nomad`
    
    If the job already exists, a restart/update will be triggered even if
    the job definition is identical to the previous version.  If the job
    does not exist it will be registered and executed.
    
    `nomad restart jobid`
    
    This will restart an existing job.  This creates a new job version and
    triggers the update/canary logic.
    maihde committed May 28, 2018
    Configuration menu
    Copy the full SHA
    e7364f3 View commit details
    Browse the repository at this point in the history