In this hands-on lab, you are tasked with upgrading a Nomad job, that is runnning on a single node. You will create the job and submit it to run. Then, while the job is active, make changes to the job file, and submit it to run again.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Log in to the Provided Nomad Server
- Log in to the server using the credentials provided:
Note: The Nomad server has been configured with one server agent and one client agent. Docker has also been installed, so Nomad is ready to run jobs.
- Log in to the server using the credentials provided:
- Create a Default `example.nomad` Job File
- Submit a default job to Nomad and wait until it has been marked as ready.
- Update the `example.nomad` Job File
- Update the
example.nomad
job file to use Redis version 4.0, and then submit the job to run.Note: You should not stop the existing running job. The new job should replace the running job.
- Update the
- Verify the Update
- Check the logs for the running allocation, and verify that version 4 of Redis is now running.