Open aconte76 opened 6 years ago
@aconte76 Are you able to use your defined metadata as environment variables by reading them inside your executable? That should provide a way to get to them
@preetapan sure that I can but if you would like to simplify configuration with pure meta is possible to integrate better 3rdy part software mostly on lift&shift philosophy... It's also be read as a decoupling point from scheduler.
@aconte76 Discussed with the team internally, and we concluded that it makes sense to support your use case. We would have to resolve them in order (i.e in order to use a variable declared in the meta stanza it would have to be defined before the one that needs it). We will add this to a future release.
Thanks for reporting this,
@preetapan sounds perfectly inline as a normal bourne shell already does! Thanks a lot
Hi all, I've noticed that interpolation feature seems not working correctly on [meta stanza] but on application parameter: following job file example is very similar what normally is done for software parameters configuration. As suggestion perhaps could help to activate variables resolution also in meta stanza.
If filing a bug please include the following:
Nomad version
until 0.8.3
Operating system and Environment details
tested on linux darwin
Nomad Server logs
There are not particular logs
Nomad Client logs
There are not particular logs
Job file