Making a Traffic Call

Procedure

  • To test traffic, here are some sample commands:
    export LB=`kubectl describe service tm-svc|grep Ingress|awk -F' ' '{print $3}'` && echo $LB
    curl -v -H 'Host:api.example.com' http://$LB/v1/api/patient/1234/qatest/testRequestInfo.php?api_key=3bvu8u3p8k5vjxmhrs6tnd6e
    
    Note: All Traffic should go to Load Balancer (going to individual node directly will NOT work.)