Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgfeller/xds-envoy
https://github.com/mgfeller/xds-envoy
Last synced: about 10 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/mgfeller/xds-envoy
- Owner: mgfeller
- License: apache-2.0
- Archived: true
- Created: 2019-03-08T19:46:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-03-10T20:44:08.000Z (over 5 years ago)
- Last Synced: 2024-08-03T08:02:30.312Z (4 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository illustrates the use of dynamic routing configuration (RDS) of the Envoy proxy.
It accompanies a forthcoming blog post.
It is based on the front proxy example code from the [Envoy proxy repository](https://github.com/envoyproxy/envoy), documented in the
[envoy docs](https://www.envoyproxy.io/docs/envoy/v1.9.0/start/sandboxes/front_proxy.html).Version 1.9.0 of Envoy is used here, rather than latest.
Assuming that Docker as well as Docker Compose are installed, run the example using
```
cd front-proxy
docker-compose up --build -d
curl localhost:8000/service/1
curl localhost:8000/service/2
docker-compose down
```RDS has a statistics tree rooted at http..rds., see
https://www.envoyproxy.io/docs/envoy/v1.9.0/configuration/http_conn_man/rdsThe statistics is available at http://localhost:8001/stats, in Prometheus format at http://localhost:8001/stats/prometheus.
Filebeat is installed and configured in the front proxy Docker image to send the logs from Envoy to a logstash instance.