nomad
nomad copied to clipboard
☂️ Nomad Job Templates
Run Job UI
-
[ ] #15546
- Conditional upon Variables being enabled for the Nomad agent. Otherwise, we won't have templates to read/write from.
- Choose from Template requires
can edit variableability
-
[ ] #15547
- If variables are enabled, load variables at
nomad/job-templatesand list them - Selecting a template redirects back to
jobs/runwith the template pasted into the editor - requires
can list variableability
- If variables are enabled, load variables at
-
[ ] #15548
- Saves to a variable at
nomad/job-templates/${name}with a keys oftemplateanddescription - Upon success, redirects to
jobs/run/templates/indexwith the newly-created template selected - requires
can edit variableability
- Saves to a variable at
-
[ ] #15549
- Enabled only when editor has content
- Redirects to
jobs/run/templates/newwith the editor content copied over - requires
can edit variableability
-
[ ] #15550
- Accessed by the "Manage" button on
jobs/run/templates/index - Gives an interface to delete a template (uses the
deleteRecordfor the variable in question) - Gives an interface to modify a template (links to
jobs/run/templates/:name - requires
can edit variableability
- Accessed by the "Manage" button on
-
[ ] #15551
- Allows modification of the backing variable for a given template
- Description can be modified (
descriptionvariable key) - Template can be modified (
templatevariable key) - requires
can edit variableability
-
[ ] Modify variable editing form at
/nomad/job-templates/*to use a custom textarea layout instead of kv<input>s
Variables
- [x] #15569
- [ ] Stand up hardcoded template variables when a new agent starts
- [ ] Check for existence of a
templatefield and no non-template non-description fields when saving tonomad/job-templates/*
CLI
- [ ] #15563
- [ ] Update the
job initCLI docs
Product
- [ ] Write a well-commented Hello World template
- [ ] Write a well-commented Service Discovery template
- [ ] Write a well-commented Variables template
- [ ] Write a well-commented parameterized template