Skip to content

how to aggregate multicluster event by kelemetry #137

Answered by SOF3
zebhuang asked this question in Q&A
Discussion options

You must be logged in to vote

Each Kelemetry controller instance can only watch events from one cluster, namely its "target cluster". The recommended approach is like this:

  • Deploy central diff cache + span cache databases
  • Deploy central webhook + consumer instances and connect to the central cache databases
  • Deploy in-cluster informers instances and connect to the central cache databases.
graph TB
  subgraph central deployment
    consumer[webhook + consumer]
    cache[diff & span cache]
    consumer --> cache
  end
  subgraph cluster1
    apiserver1[kube-apiserver]
    informers1[informers]
    apiserver1 --> |list-watch| informers1
  end
  apiserver2 -->|audit\nwebhook| consumer
  subgraph cluster2
    apiserver…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Shadow-of-Hell
Comment options

@SOF3
Comment options

@SOF3
Comment options

Answer selected by zebhuang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #136 on July 21, 2023 07:11.