FIX(otel): use statefulset mode for metrics collector

- Change from deployment to statefulset mode
- Target Allocator requires statefulset (not deployment)
This commit is contained in:
2026-01-10 00:01:22 +09:00
parent 5b70f19b12
commit 8ce6f95d92

View File

@@ -6,7 +6,7 @@ metadata:
name: otel-metrics name: otel-metrics
namespace: opentelemetry namespace: opentelemetry
spec: spec:
mode: deployment mode: statefulset
replicas: 2 replicas: 2
image: otel/opentelemetry-collector-contrib:0.113.0 image: otel/opentelemetry-collector-contrib:0.113.0
serviceAccount: otel-collector serviceAccount: otel-collector