solo-io / workshops

Apache License 2.0
127 stars 72 forks source link

Get started with Istio - trim log while retrying #171

Open find-arka opened 1 year ago

find-arka commented 1 year ago

After this section we could add a | tail -6

If you check the logs of the purchase-history service, you will see the retries:

kubectl logs deploy/purchase-history-v3 -n istioinaction | grep x-envoy-attempt-count | tail -6

in case someone retires many times, if we don't tail the log, the number of log lines become very long