make
docker run -d --name demo \
-p 80:8080 \
dodbrian-liveproject-tracing
Use curl command or open url 127.0.0.1/checkout
in the browser. You should be able to see output as the followings.
➜ milestone1 git:(master) ✗ curl 127.0.0.1/checkout
You have successfully checked out your shopping cart.
istioctl install --set profile=default --set values.pilot.traceSampling=100
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.17/samples/addons/jaeger.yaml
kubectl label namespace default istio-injection=enabled --overwrite=true
cd istio
kubectl apply -f manifest.yaml
kubectl port-forward service/istio-ingressgateway 8080:80 -n istio-system
curl http://localhost:8080/checkout
Jaeger UI address: http://localhost:8080/