This repository has been archived by the owner on Jun 19, 2022. It is now read-only.
Support assigning brokers to multiple BrokerCells #866
Labels
area/broker
kind/feature-request
New feature or request
lifecycle/stale
priority/2
Nice to have feature but doesn't block current release defined by release/*
release/2
Milestone
Problem
When Brokers and Triggers are created or updated, assign them to a BrokerCell by annotating the Broker or Trigger object. For the first version this can be a hardcoded cell name.
EDIT(liu-cong@): Instead of annotating, we should label the Broker, so that we can list Brokers for a Brokercell in order to do garbage collection.
Assignment of Triggers is optional. We expect that under normal operation triggers don't need to be assigned because they are associated with an assigned Broker. However, we probably should assign anyway for two reasons:
Exit criteria:
All Brokers receive an annotation upon creation assigning them to a BrokerCell.
Time Estimate (optional):
2
Additional context (optional)
A future version of this assignment webhook might use a map of namespaces to BrokerCells to assign instead of assuming a single BrokerCell per cluster.
The text was updated successfully, but these errors were encountered: