-
-
Save joseluisq/28ae9f78e4da9362c970074a44ec058e to your computer and use it in GitHub Desktop.
Envoy secured stats endpoint example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
admin: | |
access_log_path: /dev/null | |
address: | |
socket_address: | |
protocol: TCP | |
address: 127.0.0.1 | |
port_value: 8081 | |
static_resources: | |
listeners: | |
- address: | |
socket_address: | |
protocol: TCP | |
address: 0.0.0.0 | |
port_value: 80 | |
filter_chains: | |
- filters: | |
- name: envoy.http_connection_manager | |
config: | |
codec_type: AUTO | |
stat_prefix: ingress_http | |
route_config: | |
virtual_hosts: | |
- name: backend | |
domains: | |
- "*" | |
routes: | |
- match: | |
prefix: /stats | |
route: | |
cluster: service_stats | |
http_filters: | |
- name: envoy.router | |
config: | |
clusters: | |
- name: service_stats | |
connect_timeout: 0.250s | |
type: LOGICAL_DNS | |
lb_policy: ROUND_ROBIN | |
hosts: | |
- socket_address: | |
protocol: TCP | |
address: 127.0.0.1 | |
port_value: 8001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment