-
From k8s/config/mapoption, there has two field
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Each Kelemetry controller instance can only watch events from one cluster, namely its "target cluster". The recommended approach is like this:
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
apiserver2[kube-apiserver]
informers2[informers]
apiserver2 --> |list-watch| informers2
end
apiserver1 -->|audit\nwebhook| consumer
informers1 --> cache
informers2 --> cache
But due to multi-cluster linking (if you e.g. use the annotation linker or the LinkRule linker in #109), informers and consumer also need out-of-cluster The current helm chart does not explicitly support multi-cluster deployment due to various cluster management techniques, but the rough idea is to do this:
Nevertheless, if you expect no inter-cluster parent references, you can skip all these steps and just switch the |
Beta Was this translation helpful? Give feedback.
Each Kelemetry controller instance can only watch events from one cluster, namely its "target cluster". The recommended approach is like this: