Envoy ist die Data Plane für Istio und die Basis vieler Cloud-Native-Projekte.
Warum Envoy¶
- L7 + L4 Proxy
- Hot Restart ohne Verbindungsverlust
- Filter: Lua, WASM
- gRPC nativ
- Umfangreiche Observability
Konfiguration¶
static_resources: listeners: - name: listener_0 address: { socket_address: { address: 0.0.0.0, port_value: 8080 } } filter_chains: - filters: - name: envoy.filters.network.http_connection_manager typed_config: route_config: virtual_hosts: - name: backend domains: [“*“] routes: - match: { prefix: “/” } route: { cluster: backend } clusters: - name: backend type: STRICT_DNS load_assignment: endpoints: - lb_endpoints: - endpoint: address: { socket_address: { address: backend, port_value: 3000 } }
Envoy = Basis für Cloud-Native¶
De-facto-Standard für L7-Proxy. Sie werden ihn überall sehen.