Categorygithub.com/skhalash/leaderreceivercreator
repositorypackage
0.0.0-20240526071147-53f32f99f716
Repository: https://github.com/skhalash/leaderreceivercreator.git
Documentation: pkg.go.dev

# README

Leader Receiver Creator

This is a proof of concept for https://github.com/kyma-project/telemetry-manager/blob/main/docs/contributor/arch/012-leader-receiver-creator.md.

Leader Receiver Creator is a OTel Collector receiver that instantiates another receiver based on the leader election status. It is useful when you want to have a single instance of a receiver running in a cluster.

How to test

  1. Run the following command to deploy the application:
kubectl apply -f deploy/kube/rbac.yaml
kubectl apply -f deploy/kube/collectors
  1. Run the following command to check the status of the deployment:
stern collector -n default