- Lab
- A Cloud Guru
Upgrading a Running Nomad Job on a Single Node
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.
Path Info
Table of Contents
-
Challenge
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:
-
Challenge
Create a Default `example.nomad` Job File
- Submit a default job to Nomad and wait until it has been marked as ready.
-
Challenge
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
-
Challenge
Verify the Update
- Check the logs for the running allocation, and verify that version 4 of Redis is now running.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.