https://github.com/orange-cloudfoundry/cf-discovery
Simple app to retrieve all routes from gorouter(s).
https://github.com/orange-cloudfoundry/cf-discovery
Last synced: 5 months ago
JSON representation
Simple app to retrieve all routes from gorouter(s).
- Host: GitHub
- URL: https://github.com/orange-cloudfoundry/cf-discovery
- Owner: orange-cloudfoundry
- License: apache-2.0
- Created: 2017-06-08T14:06:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-08T14:09:16.000Z (about 9 years ago)
- Last Synced: 2025-06-16T08:05:10.716Z (about 1 year ago)
- Language: HTML
- Size: 2.3 MB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CF-Discovery
Simple app to retrieve all routes from gorouter(s).
## How it works
Cf-Discovery will do a reverse proxy with load balancing on a set of gorouters given and will extract route table,
filtering it to only get the route (no route mapping can be see).
Finally user can see those route on a dashboards.
## Deploy
This tutorial explain how to deploy on cloud foundry.
1. Clone this repo
2. modify the [services.tpl.json](/services.tpl.json) with your configuration, parameters are:
- `gorouter_username` **(Required)**: username to connect to gorouter(s) instance.
- `gorouter_password` **(Required)**: password to connect to gorouter(s) instance.
- `gorouter_backends` **(Required)**: A list containing ips of all gorouter instances.
- `gorouter_port` *(Optional, Default: `8080`)*: port to connect to gorouter(s) instance.
- `gorouter_endpoint` *(Optional, Default: `/routes`)*: endpoint which give routes from gorouter.
- `gorouter_protocol` *(Optional, Default: `http`)*: protocol to use to connect to gorouter.
- `filtered_domains` *(Optional, Default: `null`)*: list of domains where routes should be hidden.
3. create an user provided service from this file: `cf cups cf-discovery-config -p services.tpl.json`
4. modify [manifest.yml](/manifest.yml) as wanted and push it (`cf push`)