Envoy je data plane pro Istio a základ mnoha cloud-native projektů.
Proč Envoy¶
- L7 + L4 proxy
- Hot restart bez ztráty spojení
- Filtry: Lua, WASM
- gRPC nativně
- Bohatá observability
Konfigurace¶
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 = základ cloud-native¶
De facto standard pro L7 proxy. Uvidíte ho všude.