简体   繁体   中英

How to deploy Jaeger on Kubernetes GKE

I have added these fields in application.yml of microservices and dependency in pom.xml.Jaeger running on my local is abl to identify the services as well

opentracing.jaeger.udp-sender.host=localhost
opentracing.jaeger.udp-sender.port=6831

I have deployed all my microservices on kubernetes. Please help me in deploying jaeger on kubernetes.

UPDATE: I have reached this step. I have a load balancer IP for jaeger-query. But on which host and port will my microservice send the logs to??

在此处输入图像描述

You can use Jaeger Operator to deploy Jaeger on kubernetes.The Jaeger Operator is an implementation of a Kubernetes Operator. Operators are pieces of software that ease the operational complexity of running another piece of software. More technically, Operators are a method of packaging, deploying, and managing a Kubernetes application

Follow this link for steps to deploy JAEGER on kubernetes.

https://www.upnxtblog.com/index.php/2018/07/16/kubernetes-tutorial-distributed-tracing-with-jaeger/

make following changes in application.properties

opentracing.jaeger.udp-sender.host=<load_balancer_ip> of your jaeger service
opentracing.jaeger.http-sender.url=http://<jaeger-collector-service-name>:port/api/traces

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM