FIX(otel): use per-node strategy for DaemonSet mode
- Change allocationStrategy to per-node (required for DaemonSet) - Operator rejects consistent-hashing with DaemonSet mode
This commit is contained in:
@@ -18,12 +18,12 @@ spec:
|
|||||||
serviceAccount: otel-collector
|
serviceAccount: otel-collector
|
||||||
|
|
||||||
# Target Allocator - distributes Prometheus scrape targets across collectors
|
# Target Allocator - distributes Prometheus scrape targets across collectors
|
||||||
# Using consistent-hashing strategy (not per-node due to collector-node mapping bug)
|
# per-node strategy: each collector scrapes targets on its own node
|
||||||
targetAllocator:
|
targetAllocator:
|
||||||
enabled: true
|
enabled: true
|
||||||
serviceAccount: otel-collector-targetallocator
|
serviceAccount: otel-collector-targetallocator
|
||||||
image: ghcr.io/open-telemetry/opentelemetry-operator/target-allocator:0.113.0
|
image: ghcr.io/open-telemetry/opentelemetry-operator/target-allocator:0.113.0
|
||||||
allocationStrategy: consistent-hashing
|
allocationStrategy: per-node
|
||||||
filterStrategy: relabel-config
|
filterStrategy: relabel-config
|
||||||
prometheusCR:
|
prometheusCR:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user