Skip to content

Vector Source kubernetes_log Using Pod Annotations #13795

Answered by tobz
cahyahikmawan asked this question in Q&A
Discussion options

You must be logged in to vote

As it turns out, this is a limitation in the Kubernetes API itself (source). Even the official Kubernetes docs for the watch endpoint don't list out the allowed fields, and it's not clear to me if the allowed fields are even protected in terms of API stability.

I would suggest to keep using the label selector-based approach if that works for you.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tobz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants