Skip to content

Preventing One Noisy Pod from Overloading kubernetes_logs Source in Vector #22040

Answered by jszwedko
caesarxuchao asked this question in Q&A
Discussion options

You must be logged in to vote

I think if you set https://vector.dev/docs/reference/configuration/sources/kubernetes_logs/#oldest_first to false it will read from the inputs fairly rather than getting pegged reading from the noisy pod. Vector will hold open the files until it reads them all, though, so you may want to also set https://vector.dev/docs/reference/configuration/sources/kubernetes_logs/#rotate_wait_secs to drop the noisy pod log files after rotation.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@caesarxuchao
Comment options

@jszwedko
Comment options

@pront
Comment options

pront Jan 2, 2025
Maintainer

Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants