When using OpenTelemetryCollector nodeSelector
and later removing it, collector pod doesn't clean up the nodeSelector
#2940
Labels
bug
Something isn't working
Component(s)
collector
What happened?
Description
When adding OpenTelemetryCollector.spec.nodeSelector and later removing it, it doesn't get applied to the collector Pods.
Steps to Reproduce
Scenario,
a. it will create pods(from DaemonSet/Deployment/Statefulset) with the nodeSelector ✅
a. it is not removed from pods(from DaemonSet/Deployment/Statefulset)
a. it is adding another nodeSelector to the pod and keeping both (step 1 and step 3)
Expected Result
Collector Pods should reflect exactly the OpenTelemetryCollector.spec.nodeSelector
Actual Result
Collector Pods get nodeSelectors but never removed to reflect the OpenTelemetryCollector.spec.nodeSelector.
Kubernetes Version
1.26
Operator version
0.98.0
Collector version
0.98.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: