github.com/smintz/nomad@v0.8.3/website/source/guides/operating-a-job/index.html.md (about) 1 --- 2 layout: "guides" 3 page_title: "Operating a Job" 4 sidebar_current: "guides-operating-a-job" 5 description: |- 6 Learn how to operate a Nomad Job. 7 --- 8 9 # Operating a Job 10 11 The general flow for operating a job in Nomad is: 12 13 1. Author the job file according to the [job specification](/docs/job-specification/index.html) 14 1. Plan and review the changes with a Nomad server 15 1. Submit the job file to a Nomad server 16 1. (Optional) Review job status and logs 17 18 When updating a job, there are a number of built-in update strategies which may 19 be defined in the job file. The general flow for updating an existing job in 20 Nomad is: 21 22 1. Modify the existing job file with the desired changes 23 1. Plan and review the changes with a Nomad server 24 1. Submit the job file to a Nomad server 25 1. (Optional) Review job status and logs 26 27 Because the job file defines the update strategy (blue-green, rolling updates, 28 etc.), the workflow remains the same regardless of whether this is an initial 29 deployment or a long-running job. 30 31 This section provides some best practices and guidance for operating jobs under 32 Nomad. Please navigate the appropriate sub-sections for more information.