Skip to content
Discussion options

You must be logged in to vote

Each Vector instance needs its own backing directory for data_dir. Using the same path inside separate containers is fine as long as it points to separate storage.

To resume from checkpoints after a restart, Vector needs access to both the saved state and the corresponding log files. If the replacement Pod’s include pattern no longer matches the old files, retaining their checkpoints will not make Vector read them. Adding the Pod name to data_dir separates state, but does not by itself prevent missing logs across Pod replacements.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ShahroZafar
Comment options

@jszwedko
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
domain:config Anything related to configuring Vector source:kubernetes_logs Anything `kubernetes_logs` source related platform:kubernetes Anything `kubernetes` platform related
4 participants