-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[receiver/k8sobjects] Support running in kubernetes leader election mode. #24662
[receiver/k8sobjects] Support running in kubernetes leader election mode. #24662
Conversation
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
c4cd0b9
to
cc9269e
Compare
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
a888885
to
49846ac
Compare
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
4e234c9
to
dd0bbaa
Compare
@jpkrohling @dmitryax hi, do you have time to help review this PR? |
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
What's the state of this PR? |
finding a way to add Unit-test... |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
Description: add leader election func to support otel col running in kubernetes leader election mode
BTW, as @dmitryax #17369 (comment), this feature also works for
k8scluster
,k8sevents
receivers, so put this function as aninternal
method.Link to tracking Issue: #17369, #32994
Testing:
k8sobjectsreceiver
to watch kubernetes event logs as follows yaml:Documentation: