-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have already added the code paths for enabling xds v3. This PR adds an integration test that exercises envoy bootstrap using xds v3 transport. Signed-off-by: Jyoti Mahapatra [email protected]
- Loading branch information
1 parent
908106f
commit 27b018f
Showing
3 changed files
with
134 additions
and
42 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Base Envoy config using v3 xds with a management server listening on 9991 (xds-relay) and admin port on 19000. | ||
admin: | ||
access_log_path: /dev/null | ||
address: | ||
socket_address: | ||
address: 127.0.0.1 | ||
port_value: 19000 | ||
dynamic_resources: | ||
cds_config: | ||
resource_api_version: V3 | ||
api_config_source: | ||
transport_api_version: V3 | ||
api_type: GRPC | ||
grpc_services: | ||
- envoy_grpc: | ||
cluster_name: xds_cluster | ||
set_node_on_first_message_only: true | ||
lds_config: | ||
resource_api_version: V3 | ||
api_config_source: | ||
transport_api_version: V3 | ||
api_type: GRPC | ||
grpc_services: | ||
- envoy_grpc: | ||
cluster_name: xds_cluster | ||
set_node_on_first_message_only: true | ||
node: | ||
cluster: dev | ||
id: envoy-1 | ||
static_resources: | ||
clusters: | ||
- connect_timeout: 1s | ||
load_assignment: | ||
cluster_name: xds_cluster | ||
endpoints: | ||
- lb_endpoints: | ||
- endpoint: | ||
address: | ||
socket_address: | ||
address: 127.0.0.1 | ||
port_value: 9991 | ||
http2_protocol_options: {} | ||
name: xds_cluster |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,4 @@ | |
} | ||
], | ||
"ExpirationTime": "" | ||
} | ||
} |