Created
April 30, 2018 06:35
-
-
Save salrashid123/aa34c603445716549434fa8c2a7ef5c8 to your computer and use it in GitHub Desktop.
eds1
This file contains hidden or 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
- name: listener_0 | |
address: | |
socket_address: { address: 0.0.0.0, port_value: 10000 } | |
filter_chains: | |
- filters: | |
- name: envoy.http_connection_manager | |
config: | |
stat_prefix: ingress_http | |
... | |
... | |
- match: { prefix: "/" } | |
route: { cluster: service_backend } | |
http_filters: | |
- name: envoy.router | |
clusters: | |
- name: service_backend | |
type: EDS | |
connect_timeout: 0.25s | |
eds_cluster_config: | |
service_name: myservice | |
eds_config: | |
api_config_source: | |
#api_type: REST_LEGACY # GET /v1/registration/myservice | |
#api_type: REST # POST /v2/discovery:endpoints | |
api_type: REST | |
cluster_names: [eds_cluster] | |
refresh_delay: 5s | |
- name: eds_cluster | |
type: STATIC | |
connect_timeout: 0.25s | |
hosts: [{ socket_address: { address: 127.0.0.1, port_value: 8080 }}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment