Open grahamnicholls opened 9 months ago
Thanks for filing this @grahamnicholls ! This looks to be a bug in the Helm chart templating. It only looks for address
fields at the top-level and for the opentelemetry
source they are nested. The fix for this would need to be somewhere around: https://github.com/vectordotdev/helm-charts/blob/64ea7a50c64fad3a520643f46be5209f74b71c6c/charts/vector/templates/_helpers.tpl#L92-L110
In absence of that, you can configure the ports directly via the containerPorts
and service.ports
. Note I think this will override the automatic generation so all needed ports will need to be specified.
Apologies for terminology mistakes - I am pretty new to k8s. If an opentelemetry source is configured, it requires 2 address values; one for grpc and one for http (as in the config extract below). However, when helm renders the template, no endpoints are created for the opentelemetry source.
Produces a service looking like so:
$ kd -n gnotel svc vector-gnotel
As can be seen, endpoints are created for the API, and for the prometheus source, but not for the opentelemetry source.