Skip to content
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

Create nomadgen <job> serve command which can: #7

Open
2 tasks
smintz opened this issue Oct 14, 2018 · 3 comments
Open
2 tasks

Create nomadgen <job> serve command which can: #7

smintz opened this issue Oct 14, 2018 · 3 comments
Milestone

Comments

@smintz
Copy link
Owner

smintz commented Oct 14, 2018

  • Listen on changes in consul and apply options to TemplatedJob
  • Expose rest like API to allow make changes to the job as a callback
@smintz smintz added this to the v0.1.0 milestone Oct 14, 2018
@automaticgiant
Copy link

don't template and update stanzas combined with consul solve for this?

@smintz
Copy link
Owner Author

smintz commented Nov 5, 2018

@automaticgiant for template changes, yes, but what about things like version to run? or how many instances you want to run (for let's say autoscaling)?

@automaticgiant
Copy link

what i'm suggesting is that you run your job gen code as a task that has the inputs (version/count/whatevs) templated into the generator alloc, that way you get signaled/restarted to rerun/submit when those change in consul.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants