Open ankitcharolia opened 1 year ago
Actually, it should be along these lines: https://github.com/jaegertracing/jaeger-operator/blob/main/pkg/storage/elasticsearch.go#L73C1-L76C3
The num-replicas
argument is not found and a default value is assigned.
@iblancasa I have defined num-replicas: 0
in my Jaeger manifest file, but it still takes the default value.
@iblancasa I have defined
num-replicas: 0
in my Jaeger manifest file, but it still takes the default value.
Yes. I can see it in the configuration you provided. I'm just describing what the code is doing. Somebody will have to check deeper and see why that is happening.
I have externally setup single node elasticsearch using
eck-stack
operator and am trying to ingrate jaeger with elasticsearch storage. I see thatjaeger-span-*
andjaeger-service-*
indices are created with default replica count of1
. That means--es.num-replicas: 0
is being ignored.I believe that this is happening due to this line: https://github.com/jaegertracing/jaeger-operator/blob/main/pkg/storage/elasticsearch.go#L263
Steps to reproduce
Jager instance yaml file
Expected behavior
es.num-replicas=0
should be respected.Relevant log output
No response
Screenshot
Additional context
No response
Jaeger backend version
1.46.0
SDK
No response
Pipeline
No response
Stogage backend
Elasticsearch
Operating system
Linux
Deployment model
Kubernetes
Deployment configs
No response