Jaeger 是一個開源的分散式跟蹤 Trace 系統, 可以用來 trace 每個客戶端送出的請求, 進而找出執行過程的問題.
本篇筆記將介紹如何安裝與使用 Jaeger.
PS C:\k8s> git clone https://github.com/jaegertracing/jaeger-kubernetes
Cloning into 'jaeger-kubernetes'...
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 413 (delta 5), reused 5 (delta 2), pack-reused 400
Receiving objects: 100% (413/413), 141.47 KiB | 175.00 KiB/s, done.
Resolving deltas: 100% (170/170), done.
PS C:\k8s\jaeger-kubernetes\all-in-one> kubectl create -f .\jaeger-all-in-one-template.yml
deployment.extensions "jaeger-deployment" created
service "jaeger-query" created
service "jaeger-collector" created
service "jaeger-agent" created
service "zipkin" created
31291
/TCPPS C:\k8s\jaeger-kubernetes\all-in-one> kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
jaeger-agent ClusterIP None <none> 5775/UDP,6831/UDP,6832/UDP,5778/TCP 5s
jaeger-collector ClusterIP 10.108.217.0 <none> 14267/TCP,14268/TCP,9411/TCP 5s
jaeger-query NodePort 10.105.162.4 <none> 80:31291/TCP 5s
zipkin ClusterIP None <none> 9411/TCP 5s