Skip to content

feat(opentelemetry-collector): support kubernetesEvents in daemonset …#2015

Open
YASHMAHAKAL wants to merge 1 commit intoopen-telemetry:mainfrom
YASHMAHAKAL:support-k8s-events-daemonset
Open

feat(opentelemetry-collector): support kubernetesEvents in daemonset …#2015
YASHMAHAKAL wants to merge 1 commit intoopen-telemetry:mainfrom
YASHMAHAKAL:support-k8s-events-daemonset

Conversation

@YASHMAHAKAL
Copy link
Copy Markdown

@YASHMAHAKAL YASHMAHAKAL commented Jan 6, 2026

Adds leader election support for kubernetesEvents preset in DaemonSet mode to prevent event duplication.

Fixes #1995

Changes:

  • Added disableLeaderElection option to values.yaml
  • Configured k8s_leader_elector extension for DaemonSet mode
  • Added RBAC permissions for lease management
  • Added CI test file and example

Testing:

  • ✅ Helm lint passes
  • ✅ DaemonSet mode: leader election enabled
  • ✅ Deployment mode: no leader election (backward compatible)

…mode

Add leader election support for kubernetesEvents preset when running
in daemonset mode to prevent event duplication.

Fixes open-telemetry#1995

Signed-off-by: YASHMAHAKAL <yvsst01@gmail.com>
@YASHMAHAKAL
Copy link
Copy Markdown
Author

Greetings @TylerHelmuth, Here's PR #2015, referencing issue #1995...!!

@github-actions
Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jan 21, 2026
Copy link
Copy Markdown
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to hit submit on my review :( sorry about that.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A CI test is enough, we dont need a specific example for this use case.

@github-actions github-actions bot removed the Stale label Jan 23, 2026
@paulojmdias
Copy link
Copy Markdown
Member

@YASHMAHAKAL Any chance to move forward with the CI fix to move forward with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[collector] feat - Support presets/kubernetesEvents for daemonset mode

3 participants