There was an error while loading. Please reload this page.
1 parent 1afa4ad commit ff7c3b8Copy full SHA for ff7c3b8
pkg/gateway/xds/translator/cluster.go
@@ -83,6 +83,18 @@ func buildXdsCluster(args *xdsClusterArgs) *clusterv3.Cluster {
83
LocalityWeightedLbConfig: &clusterv3.Cluster_CommonLbConfig_LocalityWeightedLbConfig{}}},
84
OutlierDetection: &clusterv3.OutlierDetection{},
85
PerConnectionBufferLimitBytes: wrapperspb.UInt32(tcpClusterPerConnectionBufferLimitBytes),
86
+DnsResolvers: []*corev3.Address{
87
+{
88
+Address: &corev3.Address_SocketAddress{
89
+SocketAddress: &corev3.SocketAddress{
90
+Address: "127.0.0.1",
91
+PortSpecifier: &corev3.SocketAddress_PortValue{
92
+PortValue: 8053,
93
+},
94
95
96
97
98
}
99
100
cluster.ConnectTimeout = buildConnectTimeout(args.timeout)
0 commit comments