Skip to content
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

fix(kubernetes_logs source): UID to identify meta cache #21303

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scMarkus
Copy link
Contributor

This fixes #13467

This intends to have vectors custom metadata cache for kubernetes_logs be more precise. At the moment. Pods are identified by there name and namespace. As stated in the pull request implementing the custom cache this may be insufficient to correctly identify a Pod. It so happens that the same metadata object provided by kube-rsdoes offer a uid which may be used.

At the moment we are testing to simply add the uid to the MetaDescribe struct. But since the store is only used to determine if an object exists and its data is not needed it may be possible to use the uid only.

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.

kubernetes_logs source seems to fail to annotate when pod names are reused
1 participant