Do we have any plan to support k8s operator to inject vector as a sidecar container?
We want to widely deploy vector in our system, but here's the problem we met:
we don't use stdout/stderr to log, we use file
It's nearly an impossible task to write a series new SDKs(go java rust cpp) for all services that can buffer logs and send data to the centralized vector
Even we manage to write these sdks, it'd be a very long term to have different teams use these new sdks in their production
Maybe the most non-intrusive and easiest way is that:
people still write log to local files
people tell "log system" where their log files are and the url of the centralized vector service by ENVIRONMENT, something like:
Operator inject vector container as a sidecar for every pod, and vector instance bootstrap with these env params
So, as the infra team, we just need to install a vector operator on k8s cluster. And as for other business teams, they just need to do no more than 4 lines change for their deployment.yaml file.
Do we have any plan to support k8s operator to inject vector as a sidecar container? We want to widely deploy vector in our system, but here's the problem we met:
Maybe the most non-intrusive and easiest way is that:
Operator inject vector container as a sidecar for every pod, and vector instance bootstrap with these env params
So, as the infra team, we just need to install a vector operator on k8s cluster. And as for other business teams, they just need to do no more than 4 lines change for their deployment.yaml file.