App to demo a few basic usage patterns Envoy.
You can cross-reference the Envoy configs in this project with the v2 config docs.
You should be able to run docker-compose version 3.
This list is a work-in-progress.
Run a service and put an Envoy proxy in front of it. In addition to routing requests, the Envoy instance will periodically ping the service for health status.
The Envoy configuration can be found here.
docker-compose -f docker-compose.simple-proxy.yaml up --build
# wait till service is ready
# From terminal:
curl localhost:3000/health
curl localhost:3000/info
# From browser, visit the Envoy admin page:
GET localhost:3001
# From browser, visit the Envoy stats page:
GET localhost:3001/stats
Run the same service as before, do a few jumps to other endpoints. Visit the Zipkin dashboard to view the request traces.
The Envoy configuration can be found here.
docker-compose -f docker-compose.request-tracing.yaml up --build
# wait till service is ready
# Make the same requests as before and/or:
curl localhost:3000/jump
# Visit the Zipkin dashboard from your browser:
GET localhost:9411/