Skip to content

Commit

Permalink
docs: Further updates to quick-start (envoyproxy#13793)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax authored Oct 30, 2020
1 parent 7ab7de1 commit c36abec
Show file tree
Hide file tree
Showing 16 changed files with 598 additions and 250 deletions.
1 change: 1 addition & 0 deletions docs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ filegroup(
"root/**/*.pb",
],
exclude = [
"root/**/envoy-dynamic*.yaml",
# TODO(phlax/windows-dev): figure out how to get this working on windows
# "Error: unable to read file: /etc/ssl/certs/ca-certificates.crt"
"root/configuration/http/http_filters/_include/dns-cache-circuit-breaker.yaml",
Expand Down
2 changes: 2 additions & 0 deletions docs/redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ start/install/tools/tools.rst operations/tools/tools.rst
start/install/tools/route_table_check_tool.rst operations/tools/route_table_check_tool.rst
start/install/tools/schema_validator_check_tool.rst operations/tools/schema_validator_check_tool.rst
start/install/tools/config_load_check_tool.rst operations/tools/config_load_check_tool.rst

start/quick-start.rst start/quick-start/index.rst
240 changes: 0 additions & 240 deletions docs/root/start/quick-start.rst

This file was deleted.

File renamed without changes.
20 changes: 20 additions & 0 deletions docs/root/start/quick-start/_include/envoy-dynamic-cds-demo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
resources:
- "@type": type.googleapis.com/envoy.config.cluster.v3.Cluster
name: example_proxy_cluster
connect_timeout: 1s
type: strict_dns
http2_protocol_options: {}
load_assignment:
cluster_name: example_proxy_cluster
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: www.envoyproxy.io
port_value: 443
transport_socket:
name: envoy.transport_sockets.tls
typed_config:
"@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
sni: www.envoyproxy.io
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
node:
cluster: test-cluster
id: test-id

dynamic_resources:
ads_config:
api_type: GRPC
transport_api_version: V3
grpc_services:
- envoy_grpc:
cluster_name: xds_cluster
cds_config:
resource_api_version: V3
ads: {}
lds_config:
resource_api_version: V3
ads: {}

static_resources:
clusters:
- connect_timeout: 1s
type: strict_dns
http2_protocol_options: {}
name: xds_cluster
load_assignment:
cluster_name: xds_cluster
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: my-control-plane
port_value: 18000

admin:
access_log_path: /dev/null
address:
socket_address:
address: 0.0.0.0
port_value: 19000
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
node:
cluster: test-cluster
id: test-id

dynamic_resources:
cds_config:
path: /var/lib/envoy/cds.yaml
lds_config:
path: /var/lib/envoy/lds.yaml

admin:
access_log_path: "/dev/null"
address:
socket_address:
address: 0.0.0.0
port_value: 19000
27 changes: 27 additions & 0 deletions docs/root/start/quick-start/_include/envoy-dynamic-lds-demo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
resources:
- "@type": type.googleapis.com/envoy.config.listener.v3.Listener
name: listener_0
address:
socket_address:
address: 0.0.0.0
port_value: 10000
filter_chains:
- filters:
name: envoy.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: ingress_http
http_filters:
- name: envoy.router
route_config:
name: local_route
virtual_hosts:
- name: local_service
domains:
- "*"
routes:
- match:
prefix: "/"
route:
host_rewrite_literal: www.envoyproxy.io
cluster: example_proxy_cluster
Loading

0 comments on commit c36abec

Please sign in to comment.