2 ms·
How can I manually switch an environment over from green to blue? I'm reading https://envoyproxy.github.io/envoy/operations/admin.html https://envoyproxy.github
by nailer 9y ago
How can I manually switch an environment over from green to blue? I'm reading https://envoyproxy.github.io/envoy/operations/admin.html https://envoyproxy.github.io/envoy/operations/admin.html but I can't see it.
- trjordan 9y agoYou don't call Envoy to make changes. You either update the config file, or you implement an API server with a specific set of endpoints, then have it serve the updated values back. It's a bit tricky, but entirely doable. https://envoyproxy.github.io/envoy/intro/arch_overview/dynamic_configuration.html https://envoyproxy.github.io/envoy/intro/arch_overview/dynam... (You can do this in nginx, too, and it's similarly annoying. This is a big part of what we do at Turbine Labs -- a UI with a slider between blue and green, and a place to host all those stats, so you don't have to manage it!)
- nailer 9y agoI'd use Houston in a heartbeat over nginx (currently flying blind, but need it for HTTP/2) but it's hard to compete with free. It's hard to read what your licensing/support model is like without signing up. Considered a Red Hat like support model?
- dsp1234 9y agoLooks like you can use the Traffic Shifting functionality. Put the green servers in one cluster, the blue servers in another cluster. Then use the route configuration to switch between the two. https://envoyproxy.github.io/envoy/configuration/http_conn_man/route_config/traffic_splitting.html#traffic-shifting-between-two-upstreams https://envoyproxy.github.io/envoy/configuration/http_conn_m...