35 lines
982 B
YAML
35 lines
982 B
YAML
# Envoy bootstrap configuration
|
|
#
|
|
# Listeners and clusters are loaded from lds.yaml and cds.yaml. Both files are
|
|
# polled and applied live when their content changes, no restart needed.
|
|
# Changes to this file require: systemctl restart envoy
|
|
#
|
|
# Validate: envoy --mode validate -c /etc/envoy/envoy.yaml
|
|
|
|
node:
|
|
id: envoy
|
|
cluster: envoy
|
|
|
|
admin:
|
|
address:
|
|
socket_address: { address: 127.0.0.1, port_value: 9901 }
|
|
|
|
dynamic_resources:
|
|
cds_config:
|
|
resource_api_version: V3
|
|
path_config_source:
|
|
path: /etc/envoy/cds.yaml
|
|
poll_interval: 5s
|
|
lds_config:
|
|
resource_api_version: V3
|
|
path_config_source:
|
|
path: /etc/envoy/lds.yaml
|
|
poll_interval: 5s
|
|
|
|
overload_manager:
|
|
resource_monitors:
|
|
- name: envoy.resource_monitors.global_downstream_max_connections
|
|
typed_config:
|
|
"@type": type.googleapis.com/envoy.extensions.resource_monitors.downstream_connections.v3.DownstreamConnectionsConfig
|
|
max_active_downstream_connections: 50000
|