Skip to content

joekr/envoy_proxy_playground

Repository files navigation

Envoy Proxy playground

Learning using this as the sandbox: https://github.com/envoyproxy/envoy/tree/master/examples/front-proxy

Run: docker-compose up -d --scale service1=3 --scale service2=3

Url endpoints:

  • http://localhost:8001/
  • http://localhost:8081/
  • http://localhost:8000/service/1
  • http://localhost:8000/service/2

Build container

docker build -f Dockerfile-frontend -t registry.gitlab.com/joekr/envoy_proxy_playground:edge . docker build -f Dockerfile-service -t registry.gitlab.com/joekr/envoy_proxy_playground:service1 . docker build -f Dockerfile-service2a -t registry.gitlab.com/joekr/envoy_proxy_playground:service2a . docker build -f Dockerfile-service2b -t registry.gitlab.com/joekr/envoy_proxy_playground:service2b .

docker login registry.gitlab.com docker push registry.gitlab.com/joekr/envoy_proxy_playground:edge docker push registry.gitlab.com/joekr/envoy_proxy_playground:service1 docker push registry.gitlab.com/joekr/envoy_proxy_playground:service2a docker push registry.gitlab.com/joekr/envoy_proxy_playground:service2b

run locally

Update envoy proxy dc restart edge

Goal

Launch Infrastructure which supports using Envoy Proxy to route canary requests to new cluster. If new cluster is passing canary tests, then move into production.

Other sources

Cloud options

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published