solo-io / workshops

Apache License 2.0
127 stars 72 forks source link

Get started with Istio - Resiliency - multi line script for readability #170

Open find-arka opened 1 year ago

find-arka commented 1 year ago

instruqt > get-started-istio/06-resiliency/assignment.md

for i in {1..6}
do
    echo; echo "**********"
    echo "Attempt #${i}"
    echo "**********"
    kubectl exec deploy/sleep -n istioinaction -- curl -s -H "user: Tom" http://purchase-history:8080/
done

Output format:

Screenshot 2023-03-26 at 2 07 32 PM