hashicorp / hashicorp/consul

Ability to share global services with all partitions automatically

Open
#17,588 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

When utilizing admin partitions, you can export services and import them to different partitions. But when you have hundreds or thousands of partitions this can become painful to manage and organize.

It would be nice if we could create "global" services in the default partition which then automatically cascade to all other partitions. Examples of this would be DNS, or Vault.

Expanding on this example.
If we have Consul Enterprise partitions a, b and c
and we have Vault Namespaces a, b and c

We don't want to register vault multiple times because that counts against service instances. We also don't want to to configure vault to exported + imported N times as we scale. So we just set vault to global and it shows up in all the consul partitions

This is somewhat related to https://github.com/hashicorp/consul/issues/16189 but ties to any service, not just the consul service

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing related issue #16189 and the existing admin-partition service export/import behavior. Define how a global service in the default partition should cascade to every partition, including the Consul and Vault examples, and how this behaves at large partition counts.

Written by the indexing model from the issue text.

Assessment

Domain
backend-api-design, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.