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

Add automatic Consul constraint for Nomad jobs that depend on Consul #11471

Closed
mikenomitch opened this issue Nov 8, 2021 · 1 comment · Fixed by #12602
Closed

Add automatic Consul constraint for Nomad jobs that depend on Consul #11471

mikenomitch opened this issue Nov 8, 2021 · 1 comment · Fixed by #12602

Comments

@mikenomitch
Copy link
Contributor

Proposal

When a Nomad job declares a service stanza, it relies on Consul to function properly. This should create a constraint on thee job automatically to only run on client nodes that have Consul running. It is possible to do this currently, as Consul is fingerprinted, but many people will not add the constraint manually.

Use-cases

This will help avoid placement of jobs onto client nodes that do not have Consul running, and will make it less likely that tasks cannot run properly.

@github-actions
Copy link

github-actions bot commented Oct 9, 2022

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants