-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unclear documentation on variable interpolation #891
Comments
https://www.nomadproject.io/docs/jobspec/interpreted.html Please let us know how it can be improved. |
Thanks for the updated syntax/variable name. My original testing was around interpolation of metadata values. I see now that they are handled differently than nomad variables, and additional testing has clarified that metadata variables (seem to) need to be set at the task level to be available/interpolated into the task's environment. For example:
The documentation was not clear (at least to me) on the above behavior, so perhaps if this could be made explicit it'd be helpful |
Going to close this as the docs have changed significantly but happily take more specific issues or PRs to clarify further! |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Hi,
running nomad 0.3.0, with a task using the docker driver, I have the following in the task definition:
Yet this does not appear to be interpolated, as in the target process/task:
My reading of #653 suggested this should work, so curious what I am missing?
The text was updated successfully, but these errors were encountered: