kumahq / kuma-website

🐻 The official website for Kuma, the control plane for modern service connectivity.
https://kuma.io
Apache License 2.0
104 stars 87 forks source link

Improve openTelemetry installation command with helm #1796

Closed Icarus9913 closed 3 weeks ago

Icarus9913 commented 1 month ago

Description

Refer to https://kuma.io/docs/2.7.x/guides/otel-metrics/#install-opentelemetry-collector helm installation command: helm install --namespace mesh-observability opentelemetry-collector open-telemetry/opentelemetry-collector -f values-otel.yaml, I received the error logs

root@icarus-global-cp:~/deploy# helm install --namespace mesh-observability opentelemetry-collector open-telemetry/opentelemetry-collector -f values-otel.yaml
Error: INSTALLATION FAILED: execution error at (opentelemetry-collector/templates/NOTES.txt:2:3): [ERROR] 'image.repository' must be set. See https://github.com/open-telemetry/opentelemetry-helm-charts/blob/main/charts/opentelemetry-collector/UPGRADING.md for instructions.

It looks like the OpenTelemetry has breaking changes with the latest version by using helm installation.

With the following command it works. helm install --namespace mesh-observability opentelemetry-collector open-telemetry/opentelemetry-collector -f values-otel.yaml --set image.repository=otel/opentelemetry-collector-contrib

We need to supplement it to our docs.