-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix: detect enable ipv6 for envoy (#387)
* hotfix: detect enable ipv6 for envoy * hotfix: detect pod enable ipv6 for envoy * hotfix: optimize code
- Loading branch information
1 parent
81f62ea
commit 1dc3c05
Showing
4 changed files
with
93 additions
and
3 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,51 @@ | ||
admin: | ||
access_log_path: /dev/null | ||
address: | ||
socket_address: | ||
address: "0.0.0.0" | ||
port_value: 9003 | ||
dynamic_resources: | ||
ads_config: | ||
api_type: GRPC | ||
transport_api_version: V3 | ||
grpc_services: | ||
- envoy_grpc: | ||
cluster_name: xds_cluster | ||
set_node_on_first_message_only: true | ||
cds_config: | ||
resource_api_version: V3 | ||
ads: { } | ||
lds_config: | ||
resource_api_version: V3 | ||
ads: { } | ||
static_resources: | ||
listeners: | ||
- name: default_listener | ||
address: | ||
socket_address: | ||
address: "0.0.0.0" | ||
port_value: 15006 | ||
use_original_dst: true | ||
filter_chains: | ||
- filters: | ||
- name: envoy.filters.network.tcp_proxy | ||
typed_config: | ||
"@type": type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy | ||
stat_prefix: tcp | ||
cluster: origin_cluster | ||
clusters: | ||
- name: xds_cluster | ||
connect_timeout: 2s | ||
type: STRICT_DNS | ||
lb_policy: ROUND_ROBIN | ||
load_assignment: | ||
cluster_name: xds_cluster | ||
endpoints: | ||
- lb_endpoints: | ||
- endpoint: | ||
address: | ||
socket_address: | ||
address: kubevpn-traffic-manager | ||
port_value: 9002 | ||
ipv4_compat: true | ||
http2_protocol_options: { } |
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