Chaos Testing

    By default, recommendation v1 and v2 are being randomly load-balanced as that is the default behavior in Kubernetes/OpenShift

    1. $ oc get pods -l app=recommendation -n tutorial
    2. NAME READY STATUS RESTARTS AGE
    3. recommendation-v1-3719512284-7mlzw 2/2 Running 6 18h

    Clean up

    Delay

    And hit the customer endpoint

    1. ./scripts/run.sh

    orbash./kubetail.sh recommendation -n tutorial

    1. kubectl delete -f istiofiles/destination-rule-recommendation.yml -n tutorial
    2. kubectl delete -f istiofiles/virtual-service-recommendation-delay.yml -n tutorial