Envoy is the data plane for Istio and the foundation of many cloud-native projects.
Why Envoy¶
- L7 + L4 proxy
- Hot restart without losing connections
- Filters: Lua, WASM
- Native gRPC support
- Rich observability
Configuration¶
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 = Cloud-Native Foundation¶
De facto standard for L7 proxy. You will see it everywhere.