mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-01 03:07:51 +08:00
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
admin:
|
|
access_log_path: /tmp/admin_access.log
|
|
address:
|
|
socket_address: { address: 0.0.0.0, port_value: ${MANAGE_PORT:65533} }
|
|
|
|
dynamic_resources:
|
|
lds_config:
|
|
api_config_source:
|
|
api_type: GRPC
|
|
grpc_services:
|
|
envoy_grpc:
|
|
cluster_name: rainbond_xds_cluster
|
|
cds_config:
|
|
api_config_source:
|
|
api_type: GRPC
|
|
grpc_services:
|
|
envoy_grpc:
|
|
cluster_name: rainbond_xds_cluster
|
|
|
|
static_resources:
|
|
clusters:
|
|
- name: rainbond_xds_cluster
|
|
connect_timeout: 0.25s
|
|
type: STATIC
|
|
lb_policy: ROUND_ROBIN
|
|
http2_protocol_options: {}
|
|
load_assignment:
|
|
cluster_name: rainbond_xds_cluster
|
|
endpoints:
|
|
- lb_endpoints:
|
|
- endpoint:
|
|
address:
|
|
socket_address:
|
|
address: ${XDS_HOST_IP:172.30.42.1}
|
|
port_value: ${XDS_HOST_PORT:6101}
|
|
- name: rate_limit_service_cluster
|
|
connect_timeout: 0.25s
|
|
type: STATIC
|
|
lb_policy: ROUND_ROBIN
|
|
http2_protocol_options: {}
|
|
load_assignment:
|
|
cluster_name: rate_limit_service_cluster
|
|
endpoints:
|
|
- lb_endpoints:
|
|
- endpoint:
|
|
address:
|
|
socket_address:
|
|
address: ${RATE_LIMIT_SERVER_HOST:127.0.0.1}
|
|
port_value: ${RATE_LIMIT_SERVER_PORT:8081}
|