File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ kubectl delete -f ~ /istio-0.4.0/install/kubernetes/addons/zipkin.yaml
4
+ kubectl apply -n istio-system -f https://raw.githubusercontent.com/jaegertracing/jaeger-kubernetes/master/all-in-one/jaeger-all-in-one-template.yml
5
+
6
+ POD_STATUS=" "
7
+ while [ " $POD_STATUS " != " Running" ]; do
8
+ sleep 10
9
+ POD_STATUS=$( kubectl get pods -l app=jaeger -n istio-system -o jsonpath=' {.items[0].status.phase}' )
10
+ done
11
+
12
+ kubectl port-forward -n istio-system $( kubectl get pod -n istio-system -l app=jaeger -o jsonpath=' {.items[0].metadata.name}' ) 16686:16686 &
13
+
14
+ echo " Jaeger running on: http://localhost:16686/"
15
+
16
+ # ## DELETE ###
17
+ # lsof -c kubectl -ti:16686 -a | xargs kill
18
+ # kubectl delete -f https://raw.githubusercontent.com/jaegertracing/jaeger-kubernetes/master/all-in-one/jaeger-all-in-one-template.yml -n istio-system
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ kubectl apply -f ~ /istio-0.4.0/install/kubernetes/addons/zipkin.yaml
4
+
5
+ POD_STATUS=" "
6
+ while [ " $POD_STATUS " != " Running" ]; do
7
+ sleep 10
8
+ POD_STATUS=$( kubectl get pods -l app=zipkin -n istio-system -o jsonpath=' {.items[0].status.phase}' )
9
+ done
10
+
11
+ kubectl port-forward -n istio-system $( kubectl get pod -n istio-system -l app=zipkin -o jsonpath=' {.items[0].metadata.name}' ) 9411:9411 &
12
+
13
+ echo " Zipkin running on: http://localhost:9411/"
14
+
15
+ # ## DELETE ###
16
+ # lsof -c kubectl -ti:9411 -a | xargs kill
17
+ # kubectl delete -f ~/istio-0.4.0/install/kubernetes/addons/zipkin.yaml
You can’t perform that action at this time.
0 commit comments