You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to debug some issues I have in my statefulset cluster, and attempted to disable prometheusCR, to stop discovering serviceMonitor jobs. Ran into an issue when setting prometheusCR: false, where the target-allocator does not restart after applying these changes.
I expected the target-allocator pod to restart and the output of curl http://lightstep-collector-targetallocator:80/jobs to exclude any jobs that were discovered by serviceMonitors.
What actually happened
No restart occurred of my target-allocator pod and even after deleting the target-allocator pod (kubectl delete po target-allocator), the output of curl http://lightstep-collector-targetallocator:80/jobs was not updated to reflect disabling prometheusCR
In fact the only way to get the update I expected was to completely delete my opentelemetry namespace (collectors, target-allocator, and otel-operator) and reinstall the pods.
In case its helpful I attached the configs of the collector and target-allocator
Trying to debug some issues I have in my statefulset cluster, and attempted to disable
prometheusCR
, to stop discovering serviceMonitor jobs. Ran into an issue when settingprometheusCR: false
, where the target-allocator does not restart after applying these changes.In my collector config
What I expected
I expected the target-allocator pod to restart and the output of
curl http://lightstep-collector-targetallocator:80/jobs
to exclude any jobs that were discovered by serviceMonitors.What actually happened
No restart occurred of my target-allocator pod and even after deleting the target-allocator pod (
kubectl delete po target-allocator
), the output ofcurl http://lightstep-collector-targetallocator:80/jobs
was not updated to reflect disablingprometheusCR
In fact the only way to get the update I expected was to completely delete my opentelemetry namespace (collectors, target-allocator, and otel-operator) and reinstall the pods.
In case its helpful I attached the configs of the collector and target-allocator
k get OpenTelemetryCollector lightstep-collector -o yaml
: bug_attachment_otc.txtk get deployment lightstep-collector-targetallocator -o yaml
: bug_attachment_ta.txtThe text was updated successfully, but these errors were encountered: