open-telemetry / opentelemetry-operator

Kubernetes Operator for OpenTelemetry Collector
Apache License 2.0
1.23k stars 442 forks source link

Operator startup dependency #3489

Closed pieterv-icloud-com closed 1 day ago

pieterv-icloud-com commented 5 days ago

Component(s)

auto-instrumentation

Describe the issue you're reporting

Hi

We use ArgoCD to deploy our applications as well as the OpenTelemetry Operator

It usually happens that the workload which is annotated for auto instrumentation starts up before the operator is fully installed.

This means the applications opentelemetry environment variables are not populated and that the auto instrumentation pod is never attached as a initContainer.

The way to fix this is to manually delete the pod and then allow it to be recreated once the opentelemetry operator is installed.

Has anyone found a way around this?

jaronoff97 commented 5 days ago

this is a longstanding issue and one we haven't come to a decision on how to fix unfortunately. #1329, specifically this comment is where we are stuck

jaronoff97 commented 1 day ago

Closing this issue in favor of the one linked above.