Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kameshsampath
Last active February 13, 2019 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kameshsampath/9f0f5eb4e5b5ca82d9f81aba17396f78 to your computer and use it in GitHub Desktop.
Save kameshsampath/9f0f5eb4e5b5ca82d9f81aba17396f78 to your computer and use it in GitHub Desktop.
INGRESSGATEWAY=istio-ingressgateway
IP_ADDRESS="$(minishift ip):$(kubectl get svc $INGRESSGATEWAY --namespace istio-system --output 'jsonpath={.spec.ports[?(@.port==80)].nodePort}')"
curl -H "Host: greeter.demos.example.com" $IP_ADDRESS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment