forked from ykoyfman/tracing-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts
11 lines (10 loc) · 1009 Bytes
/
scripts
1
2
3
4
5
6
7
8
9
10
11
curl 169.55.65.202:31380/instrument-craft-shop/resources/instruments -i -XPOST -H 'Content-Type: application/json' -d '{"type":"GUITAR", "price":200}'
# Persisting Instrument_type_goes_here to data store.
Calling pipeline node: http://pipeline-2:9080/pipeline-node/resources/process
[WARNING ] Interceptor for {http://pipeline-2:9080/pipeline-node/resources/process}WebClient has thrown exception, unwinding now
IllegalStateException invoking http://pipeline-2:9080/pipeline-node/resources/process: Already connected
kubectl delete -f maker-bot/deployment/maker-bot-mp2.yaml -f instrument-craft-shop/deployment/instrument-craft-shop-mp2.yaml -f pipeline/deployment
kubectl get pods | perl ~/src/adv/tracing/tracing-demo/logs.pl
pkill -f xterm
kubectl port-forward -n default $(kubectl get pod -n default -l app=zipkin -o jsonpath={.items[0].metadata.name}) 9411:9411 &
kubectl port-forward -n istio-system $(kubectl get pod -n istio-system -l app=jaeger -o jsonpath={.items[0].metadata.name}) 16687:16686 &