Skip to content

Envoy

Introduction

Envoy is a high-performance, open-source L4/L7 proxy and communication bus designed for cloud-native, service-oriented architectures. Originally built at Lyft and now a CNCF graduated project, it provides advanced load balancing, observability, traffic shaping, and dynamic configuration via xDS APIs. Envoy serves as the data plane for service meshes including Istio, Consul Connect, and AWS App Mesh.

How to Install

Starting via Binary

Quick Start

bash
# download source
wget https://github.com/envoyproxy/envoy/releases/download/v1.26.2/envoy-x86_64
mkdir -p /opt/envoy/
mv envoy-x86_64 /opt/envoy/envoy

# create config
# https://github.com/envoyproxy/envoy/blob/main/examples/front-proxy/envoy.yaml
cat > /opt/envoy/config.yaml << "EOF"
...
EOF

# run
./envoy -c /opt/envoy/config.yaml

Starting via Docker

bash
# https://hub.docker.com/r/envoyproxy/envoy

# dev
cat > /opt/envoy/envoy.yaml << "EOF"
...
EOF
docker run --rm --name=envoy -d -p 80:10000 -v /opt/envoy/envoy.yaml:/etc/envoy/envoy.yaml envoyproxy/envoy:latest

curl -v 127.0.0.1:80

Starting via Kubernetes

Deploy by Kubernetes Manifest

bash
#

Deploy by Helm

bash
#

Reference:

  1. Official Website
  2. Repository

Power by VitePress & Vue