Easegress — Cloud-Native Traffic Orchestration System
Easegress is a high-performance, cloud-native traffic orchestration platform written in Go that provides API gateway, load balancing, service mesh sidecar, and pipeline-based request processing with built-in resilience patterns.
先审查再安装
这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。
npx -y tokrepo@latest install d0e8f036-39c9-11f1-9bc6-00163e2b0d79 --target codex先 dry-run,确认写入项后再运行此命令。
What it is
Easegress is a cloud-native traffic orchestration system written in Go. It functions as an API gateway, load balancer, and service mesh sidecar, processing requests through composable filter pipelines. Each pipeline chains together filters for routing, rate limiting, authentication, and request transformation.
Easegress targets platform engineers and DevOps teams who need fine-grained control over HTTP traffic. Its declarative YAML configuration and CLI tool (egctl) make it accessible to teams already familiar with Kubernetes-style resource definitions.
How it saves time or tokens
Instead of stitching together separate tools for rate limiting, load balancing, canary releases, and request rewriting, Easegress consolidates them into a single binary. The pipeline model means you define traffic rules once in YAML and apply them across environments. Its distributed architecture uses Raft consensus, so you avoid building your own HA layer.
How to use
- Install Easegress using the official install script or download the binary directly from the GitHub releases page.
- Start the server with
easegress-serverand useegctlto create pipeline resources via YAML manifests. - Define an HTTP server listener on your desired port and bind it to your pipeline.
Example
# Install Easegress
bash -c "$(curl -kfsSL https://raw.githubusercontent.com/easegress-io/easegress/main/scripts/install.sh)"
# Start server
easegress-server
# Create a proxy pipeline
cat <<EOF | egctl create -f -
name: demo-pipeline
kind: Pipeline
flow:
- filter: proxy
filters:
- name: proxy
kind: Proxy
pools:
- servers:
- url: http://httpbin.org
EOF
# Bind to port 10080
egctl create httpserver --port 10080 --rules demo-pipeline
curl http://localhost:10080/get
Related on TokRepo
- DevOps AI Tools — More infrastructure automation tools for cloud-native teams
- API and Integration Tools — API gateway and integration resources
Common pitfalls
- Easegress uses its own filter pipeline model, not standard middleware chains. Read the filter documentation before assuming behavior from other gateways.
- Raft consensus requires at least three nodes for production HA. A single-node setup works for development but has no failover.
- YAML pipeline definitions are order-sensitive. Filter execution follows the flow array sequence exactly.
常见问题
Easegress uses a composable filter pipeline model rather than static configuration blocks. You chain filters like rate limiting, authentication, and proxying in a declarative YAML flow. It also includes built-in Raft consensus for distributed HA without external dependencies.
Yes. Easegress supports running as a Kubernetes ingress controller, reading Ingress resources and routing traffic accordingly. It can also run as a standalone gateway or service mesh sidecar.
Easegress supports canary deployments with weighted backends, blue-green routing, A/B testing, circuit breaking, rate limiting, and request mirroring. All patterns are configured through the pipeline filter system.
Easegress is designed for production with Raft-based distributed consensus, health checks, and automatic failover. However, you need at least three nodes for proper HA in production environments.
Easegress is written entirely in Go, which gives it a single-binary deployment model, low memory footprint, and high concurrency handling through goroutines.
引用来源 (3)
- Easegress GitHub— Easegress provides API gateway, load balancing, service mesh sidecar, and pipeli…
- Easegress Documentation— Easegress uses Raft consensus for distributed high availability
- CNCF Cloud Native Landscape— Cloud-native API gateway patterns including canary, blue-green, and circuit brea…
讨论
相关资产
JuiceFS — Cloud-Native POSIX File System Built on Object Storage
A high-performance distributed file system that stores data in object storage like S3 while keeping metadata in Redis, PostgreSQL, or MySQL for cloud-native workloads.
kGateway — Cloud-Native API Gateway Built on Envoy
kGateway (formerly Gloo Gateway) is a Kubernetes-native API gateway built on Envoy Proxy that supports the Gateway API standard with advanced traffic management, security, and AI gateway capabilities.
Apache Pulsar — Cloud-Native Distributed Messaging and Streaming
Apache Pulsar is a cloud-native distributed messaging and streaming platform. It combines the best of traditional messaging (like RabbitMQ) with streaming (like Kafka) — providing multi-tenancy, geo-replication, and tiered storage in a single system.
Databend — Cloud-Native Open-Source Data Warehouse Built in Rust
Databend is a modern cloud data warehouse with separation of storage and compute on object storage. Written in Rust for extreme performance, it is a self-hostable alternative to Snowflake with full Snowflake-style SQL compatibility.