Operator fails to bring up collector correctly when TargetAllocator observability metrics enabled #3478
Labels
area:collector
Issues for deploying collector
area:target-allocator
Issues for target-allocator
bug
Something isn't working
Component(s)
target allocator
What happened?
Description
When metrics enabled on target allocator Collector comes up in a partially initialized state, causing issues such as hpa to not initialize depending on features enabled
Steps to Reproduce
Deploy Prometheus Operator CRDs for ServiceMonitor and PodMonitor
Deploy OpenTelemetry Operator with following specs
Create an OpenTelemetry collector with a TargetAllocator
Expected Result
Collector initialized with HPA and minimum of 3 replicas
Actual Result
Collector never fully comes up and reports status, scale never happens, error received stating ServiceMonitor could not be created
Kubernetes Version
1.30.5
Operator version
0.74.2
Collector version
0.113.0
Environment information
Environment
GKE
Log output
From the operator logs
targetAllocator:
observability:
metrics:
enableMetrics: false
The text was updated successfully, but these errors were encountered: