Skip to content

Commit

Permalink
debug xds
Browse files Browse the repository at this point in the history
  • Loading branch information
billowqiu committed Nov 3, 2024
1 parent c058a54 commit 6c09c96
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
43 changes: 43 additions & 0 deletions examples/xds/bootstrap-ads.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Base config for an ADS management server on 18000, admin port on 19000
admin:
access_log_path: /dev/null
address:
socket_address:
address: 0.0.0.0
port_value: 19000

node:
id: router~172.17.0.10~istio-ingressgateway-local.istio-system~istio-system.svc.cluster.local
cluster: istio-ingressgateway.istio-system

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:
- type: STATIC
typed_extension_protocol_options:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
"@type": type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicit_http_config:
http2_protocol_options: {}
name: xds_cluster
load_assignment:
cluster_name: xds_cluster
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: 127.0.0.1
port_value: 15010
1 change: 1 addition & 0 deletions source/common/protobuf/utility.cc
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ void redact(Protobuf::Message* message, bool ancestor_is_sensitive) {
} // namespace

void MessageUtil::redact(Protobuf::Message& message) {
return;
::Envoy::redact(&message, /* ancestor_is_sensitive = */ false);
}

Expand Down

0 comments on commit 6c09c96

Please sign in to comment.