Nomad Operator Example

Repostiory to go along with my The Operator Pattern in Nomad blog post.


If you have tmux installed, you can run to start the demo; it will start nomad, build the operator, and start it for you, and give you the next command to run the demo app. Exit and cleanup by running


  1. start Nomad locally

nomad agent -dev
  1. build and run the operator

cd operator
go build
  1. Register an example application to nomad

nomad job run example.nomad
  1. Open a browser to http://localhost:4646 to see the jobs in the UI


View Github