-
Notifications
You must be signed in to change notification settings - Fork 8k
Envoy RLS Token Server
Eric Zhao edited this page Jan 4, 2022
·
6 revisions
Sentinel 提供了一个 Envoy Global Rate Limiting gRPC Service 的实现 sentinel-cluster-server-envoy-rls
,借助集群限流 token server 来为 Envoy 服务网格提供集群流量控制的能力。
The RLS token server provides support for both Envoy RLS v2 and v3 API.
Note: You can refer to here for the English version.
若要构建可执行的 jar 包,可以在模块目录下执行:
mvn clean package -P prod
我们也提供了预构建好的 jar 包,可以在 release 页面下载。
配置项列表:
配置项 (环境变量) | 配置项 (JVM 参数) | 描述 | 默认值 | 是否必须 |
---|---|---|---|---|
SENTINEL_RLS_GRPC_PORT |
csp.sentinel.grpc.server.port |
RLS gRPC 端口 | 10240 | false |
SENTINEL_RLS_RULE_FILE_PATH |
csp.sentinel.rls.rule.file |
RLS 规则 yaml 文件的路径 | - | true |
SENTINEL_RLS_ACCESS_LOG |
- | 是否开启 access log(on 代表开启,会打印到控制台) |
off | false |
-
文档
-
Documents
- Read Me
- Introduction
- How to Use
- How it Works
- Flow Control
- Parameter Flow Control
- Cluster Flow Control
- API Gateway Flow Control
- Circuit Breaking
- Adaptive System Protection
- Metrics
- General Configuration
- Dynamic Rule Configuration
- Dashboard
- Integrations with open-source frameworks
- Contribution Guideline