# submit the parameterized batch job to cluster:
nomad job run ./cadence-setup-schema.nomad
# run this job (but without any param):
nomad job dispatch cadence-setup-schema
nomad job run ./cadence-server.nomad
nomad job run ./cadence-web.nomad
see files 4 to 7 to run each server service component individually. comes handy when you must scale, allocate resources, and/or measure metrics more precisely.
individual service jobs can be mixed with cadence-server.nomad on the same cluster without conflict.
To have prometheus collect metrics automatically for the above services, set this in your
prometheus.yml
:If you use nomad to also run your prometheus instance, here's
prometheus.nomad
: