Skip to content

Instantly share code, notes, and snippets.

@dwdraju
Created July 10, 2018 10:08
Show Gist options
  • Select an option

  • Save dwdraju/3c4e63a26b6702ec5ff03fd36150ef62 to your computer and use it in GitHub Desktop.

Select an option

Save dwdraju/3c4e63a26b6702ec5ff03fd36150ef62 to your computer and use it in GitHub Desktop.
envoy proxy
docker run -d --name httpbin kennethreitz/httpbin


docker run -it --rm --link httpbin tutum/curl curl -X GET http://httpbin/headers


docker run -it --rm envoyproxy/envoy envoy --help
docker run -it --rm envoyproxy/envoy envoy (no config

docker run -d --name proxy --link httpbin -v ./config.json:/etc/simple.json envoyproxy/envoy envoy -c /etc/simple.json
docker logs proxy

docker run -it --rm --link proxy tutum/curl curl -X GET http://proxy:15001/headers
(add unique request id - "X-Request-Id"
docker run -it --rm --link proxy tutum/curl curl -X GET http://proxy:15001/stats


docker run -it --rm --link proxy tutum/curl curl -X GET http://proxy:15001/status/503
(failure test, check stats grep | retry)


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment