Best Practice for Vector Hot-Reload in Kubernetes with ConfigMap-mounted Config? #25982
QuestionHello! I was wondering what the best practice is for Vector hot-reload in K8s with a ConfigMap-mounted config? We are running Vector 0.53.0 in OpenShift/Kubernetes, with the config mounted from a ConfigMap. Trying to get hot-reload working without restarting the pod.
Thank you!! Vector ConfigNo response Vector LogsNo response |
Replies: 1 comment 2 replies
|
Invalid configs abort the reload. If building the new topology fails, Vector attempts to restore the previous one; if restoration fails, Vector exits rather than continuing in a partial state. For monitoring,
This is unexpected. Can you provide the config and the validate command? |
Hi @AdwaitKulkarni58,
--watch-config-method pollseems like an appropriate workaround when filesystem events are unreliable. There is no separate/reloadendpoint; the watcher and SIGHUP use Vector’s normal reload path.Invalid configs abort the reload. If building the new topology fails, Vector attempts to restore the previous one; if restoration fails, Vector exits rather than continuing in a partial state. For monitoring,
reloaded_totalrecords successful reloads. Failures are exposed throughcomponent_errors_total.This is unexpected. Can you p…