[cluster-reflector] How to id the hub AKS cluster from the hub AKS cluster itself?
Closed this issue · 3 comments
foot commented
- E.g. hub cluster will be running the cluster-reflector and will see itself in the AKS list clusters response
- We want to filter out the hub, as connecting to itself etc is a bit of a waste
- Might show duplicate resources in the UI etc.
bigkevmcd commented
Another possibility, but would require a longer-term bit of thinking, is that you can identify which of the clusters is the hub cluster, and we wouldn't need to hard-code one.
foot commented
Options:
- Provide the hub clusterName in
excludes
in the CRD OR the controller args