nomad
nomad copied to clipboard
dispatch: optional parameters with default values and description for labels
Proposal
For parameterized
jobs we can only specify the parameter name for the required
or optional
parameters.
How about if we could specify more information about the parameters, like:
- a
default
value foroptional
parameters - a
description
field, which would be used in the Nomad GUI (in theDispatch
section) - possibly a
label
field which could be used in place of the default label. - this thought process could be enhanced further to specify the data type like string, number, etc.
Use-cases
When an operator is using the Nomad GUI, I would like to have the "default" value of the optional parameter populated in the GUI. Also, on a mouseover on the paramter, I would like to see the description which would help the user to fill in correct values.
Attempted Solutions
N/A
*** I understand that this would essentially turn the parameter list from a "list-of-strings" to a "list-of-maps", which might be considered a big change.