Replies: 1 comment 3 replies
-
Hey there, @agarwal62! I'm here to help you with your Jaeger deployment issue. I can assist you in solving bugs, answering questions, and becoming a contributor. Let's work on resolving this together. I found some similar discussions that might help you resolve the issue:
To resolve the
# Jaeger Collector
apiVersion: apps/v1
kind: Deployment
metadata:
name: jaeger-collector
spec:
template:
spec:
containers:
- name: jaeger-collector
image: jaegertracing/jaeger-collector:{{< currentVersion >}}
env:
- name: SPAN_STORAGE_TYPE
value: elasticsearch
- name: ES_SERVER_URLS
value: http://<ES_SERVER_IP>:<ES_SERVER_PORT>
ports:
- containerPort: 14269
- containerPort: 14250
- containerPort: 14268
# Jaeger Query Service
apiVersion: apps/v1
kind: Deployment
metadata:
name: jaeger-query
spec:
template:
spec:
containers:
- name: jaeger-query
image: jaegertracing/jaeger-query:{{< currentVersion >}}
env:
- name: SPAN_STORAGE_TYPE
value: elasticsearch
- name: ES_SERVER_URLS
value: http://<ES_SERVER_IP>:<ES_SERVER_PORT>
ports:
- containerPort: 16685
- containerPort: 16686
- containerPort: 16687 Make sure to replace
- name: ES_TLS_ENABLED
value: "true"
- name: ES_TLS_CA
value: "/path/to/ca.crt"
- name: ES_TLS_CERT
value: "/path/to/client.crt"
- name: ES_TLS_KEY
value: "/path/to/client.key"
- name: es.num-replicas
value: "1"
- name: es.num-shards
value: "5"
If the issue persists, you may need to check the Jaeger logs for more detailed error messages and ensure that the Elasticsearch cluster is properly configured and running. For more detailed information on deploying Jaeger, you can refer to the Jaeger Deployment Documentation [3][4][5][6][7]. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I'm facing an error while trying to deploy Jaeger with Elasticsearch storage on top of an EKS Cluster. I tried to deploy it with the help of Helm charts as well as operators, but my Jaeger collector and query pods are not coming up and are in a CrashLoopBackOff state. The error logs I get is:
{"level":"info","ts":1727413786.1901612,"caller":"flags/admin.go:122","msg":"Admin server started","http.host-port":"[::]:16687","health-status":"unavailable"}
{"level":"fatal","ts":1727413791.2333581,"caller":"query/main.go:93","msg":"Failed to init storage factory","error":"failed to create primary Elasticsearch client: health check timeout: Head "
http://quickstart-es-http:9200\":
EOF: no Elasticsearch node available","stacktrace":"main.main.func1\n\tgithub.com/jaegertracing/jaeger/cmd/query/main.go:93\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.0/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\tgithub.com/jaegertracing/jaeger/cmd/query/main.go:159\nruntime.main\n\truntime/proc.go:267"}
I checked that my Elasticsearch is running and I am able to access it, but I don't know why the Jaeger components are not able to access it.
Beta Was this translation helpful? Give feedback.
All reactions