Skip to content

Conversation

@tgross
Copy link
Member

@tgross tgross commented Mar 26, 2025

When using Nomad with Consul, each Nomad agent is expected to have a Consul agent running alongside. When using Nomad Enterprise and Consul Enterprise together, the Consul agent may be in a Consul admin partition. In order for Nomad's "anti-entropy" sync to work with Consul, the Consul ACL token and ACL policy for the Nomad client must be in the same admin partition as the Consul agent. Otherwise, we can register services (via WI) but then won't be able to deregister them unless they're the default namespace.

Ref: https://hashicorp.atlassian.net/browse/NET-12361
Preview link: https://nomad-git-docs-consul-partitions-agents-hashicorp.vercel.app/nomad/docs/configuration/consul

When using Nomad with Consul, each Nomad agent is expected to have a Consul
agent running alongside. When using Nomad Enterprise and Consul Enterprise
together, the Consul agent may be in a Consul admin partition. In order for
Nomad's "anti-entropy" sync to work with Consul, the Consul ACL token and ACL
policy for the Nomad client must be in the same admin partition as the Consul
agent. Otherwise, we can register services (via WI) but then won't be able to
deregister them unless they're the default namespace.

Ref: https://hashicorp.atlassian.net/browse/NET-12361
@tgross tgross added theme/docs Documentation issues and enhancements theme/consul theme/enterprise Issues related to Enterprise features backport/ent/1.8.x+ent Changes are backported to 1.8.x+ent backport/1.8.x backport/website This will backport PR changes to `stable-website` && the latest release-branch labels Mar 26, 2025
@tgross tgross marked this pull request as ready for review March 26, 2025 16:00
@tgross tgross requested review from a team as code owners March 26, 2025 16:00
Copy link
Contributor

@aimeeu aimeeu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Tim. Very minor nit.

Co-authored-by: Aimee Ukasick <aimee.ukasick@hashicorp.com>
Copy link
Member

@jrasell jrasell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, 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 Jul 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/ent/1.8.x+ent Changes are backported to 1.8.x+ent backport/website This will backport PR changes to `stable-website` && the latest release-branch theme/consul theme/docs Documentation issues and enhancements theme/enterprise Issues related to Enterprise features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants