Early feedback on weighted routing
Shubha Anjur Tupil
The routing team has been working on providing a routing plane based on Istio and Envoy. To read more about this, see our initial proposal Cloud Foundry Integration with Istio Pilot and Envoy. This has been a long running track of work, and we had set a near(ish) term milestone to provide weighted routing through this new routing control plane. We want to share out how you can test this early.
Installation and Setup
Instance Process State AZ IPs VM CID VM Type Active
vm-15a05a6b-cce4-42d3-7d2e-2dfee5a7c3fd minimal true
istio-control/369f958d-9e32-458d-849d-8ea3ab3e4a62 running z1 10.0.1.30 vm-b5199b90-9459-47fe-6d4c-08cdf4c4f5a2 medium true
istio-router/3b436071-575b-4553-b148-f1fd029af402 running z2 10.0.1.32
cf create-shared-domain istio.apps-domain.com
cf map-route app1 istio.apps-domain.com -n app1
If you or customers have the inclination to try this in a sandbox environment, we would love to help, and get early feedback.
Configure and update weights mapped to a route
We have not yet integrated with the CF CLI but have enabled cloud controller v3 routes to support a weight parameter.
$ cf apps
Getting apps in org shubha / space test as admin...
name requested state instances memory disk urls
go-app started 1/1 32M 32M go-app.istio.istio-acceptance.routing.cf-app.com
dora started 1/1 1G 1G go-app.istio.istio-acceptance.routing.cf-app.com
Video demo here
1. Scale: We have tested our integration to scale to 12,000 applications with 12,000 routes. We suggest trying this only if you have no more than 12,000 apps in a single cluster.
2. Not production ready - This is not production ready, it is an early release and Copilot cannot currently be scaled horizontally for HA.
3. No route integrity currently from the istio-router to the diego-cell
Routing Team (Slack at #routing)