QuestionHello. I injected vector container to the tetragon pod. The pods restart again and again: I checked the vector container's log and I could see following logs: I think it might happen because of consecutive "connection refuse". Thanks. Vector ConfigVector Logs |
Replies: 1 comment
|
The refused connection is probably not what is restarting Vector. The important lines are: Vector's HTTP sink retries failed requests by default, whereas those lines show that something outside Vector asked the process to terminate. In Kubernetes the usual causes are a failing liveness/startup probe, an OOM/resource event, a rollout/eviction, or the lifecycle of the pod that contains the sidecar. First identify the termination reason for the Vector container (replace the namespace/container name as needed): In Also check the container command for After the restart cause is fixed, you can make the outage more durable with a disk buffer: Mount References: Vector HTTP sink retries and buffer options, Vector |
The refused connection is probably not what is restarting Vector. The important lines are:
Vector's HTTP sink retries failed requests by default, whereas those lines show that something outside Vector asked the process to terminate. In Kubernetes the usual causes are a failing liveness/startup probe, an OOM/resource event, a rollout/eviction, or the lifecycle of the pod that contains the sidecar.
First identify the termination reason for the Vector container (replace the namespace/container name as needed):