From 0f4727f216d4efa6b991d2b433d0d460d73ae2f8 Mon Sep 17 00:00:00 2001 From: Ankit152 Date: Mon, 25 Nov 2024 00:04:59 +0530 Subject: [PATCH] chore: added steps to use supported database with jaeger Signed-off-by: Ankit152 --- README.md | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e408ea86..289c2a21c 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,9 @@ kubectl apply -f https://github.com/open-telemetry/opentelemetry-operator/releas Please verify all the resources (e.g., Pods and Deployments) are in a ready state in the `opentelemetry-operator-system` namespace. -* Once all the resources are ready, create a Jaeger instance as follows: +### Using Jager with in-memory storage + +Once all the resources are ready, create a Jaeger instance as follows: ```yaml kubectl apply -f - < --port= --name= +``` + +Or + +```bash +kubectl expose deployment --port= --name= +``` + +After the service is created, add the name of the service as an endpoint in their respective config as follows: + +* [Cassandra DB](https://github.com/jaegertracing/jaeger/blob/main/cmd/jaeger/config-cassandra.yaml): +```yaml +jaeger_storage: + backends: + some_storage: + cassandra: + connection: + servers: [] +``` + +* [ElasticSearch](https://github.com/jaegertracing/jaeger/blob/main/cmd/jaeger/config-elasticsearch.yaml): +```yaml +jaeger_storage: + backends: + some_storage: + elasticseacrh: + servers: [] +``` + +Use the modified config to create Jaeger instance with the help of OpenTelemetry Operator. + +```yaml +kubectl apply -f - <