@@ -148,7 +148,7 @@ var _ = SIGDescribe("Networking", func() {
148
148
ginkgo .It ("should check kube-proxy urls" , func () {
149
149
// TODO: this is overkill we just need the host networking pod
150
150
// to hit kube-proxy urls.
151
- config := e2enetwork .NewNetworkingTestConfig (f )
151
+ config := e2enetwork .NewNetworkingTestConfig (f , true )
152
152
153
153
ginkgo .By ("checking kube-proxy URLs" )
154
154
config .GetSelfURL (ports .ProxyHealthzPort , "/healthz" , "200 OK" )
@@ -161,7 +161,7 @@ var _ = SIGDescribe("Networking", func() {
161
161
ginkgo .Describe ("Granular Checks: Services" , func () {
162
162
163
163
ginkgo .It ("should function for pod-Service: http" , func () {
164
- config := e2enetwork .NewNetworkingTestConfig (f )
164
+ config := e2enetwork .NewNetworkingTestConfig (f , false )
165
165
ginkgo .By (fmt .Sprintf ("dialing(http) %v --> %v:%v (config.clusterIP)" , config .TestContainerPod .Name , config .ClusterIP , e2enetwork .ClusterHTTPPort ))
166
166
config .DialFromTestContainer ("http" , config .ClusterIP , e2enetwork .ClusterHTTPPort , config .MaxTries , 0 , config .EndpointHostnames ())
167
167
@@ -170,7 +170,7 @@ var _ = SIGDescribe("Networking", func() {
170
170
})
171
171
172
172
ginkgo .It ("should function for pod-Service: udp" , func () {
173
- config := e2enetwork .NewNetworkingTestConfig (f )
173
+ config := e2enetwork .NewNetworkingTestConfig (f , false )
174
174
ginkgo .By (fmt .Sprintf ("dialing(udp) %v --> %v:%v (config.clusterIP)" , config .TestContainerPod .Name , config .ClusterIP , e2enetwork .ClusterUDPPort ))
175
175
config .DialFromTestContainer ("udp" , config .ClusterIP , e2enetwork .ClusterUDPPort , config .MaxTries , 0 , config .EndpointHostnames ())
176
176
@@ -179,7 +179,7 @@ var _ = SIGDescribe("Networking", func() {
179
179
})
180
180
181
181
ginkgo .It ("should function for node-Service: http" , func () {
182
- config := e2enetwork .NewNetworkingTestConfig (f )
182
+ config := e2enetwork .NewNetworkingTestConfig (f , true )
183
183
ginkgo .By (fmt .Sprintf ("dialing(http) %v (node) --> %v:%v (config.clusterIP)" , config .NodeIP , config .ClusterIP , e2enetwork .ClusterHTTPPort ))
184
184
config .DialFromNode ("http" , config .ClusterIP , e2enetwork .ClusterHTTPPort , config .MaxTries , 0 , config .EndpointHostnames ())
185
185
@@ -188,7 +188,7 @@ var _ = SIGDescribe("Networking", func() {
188
188
})
189
189
190
190
ginkgo .It ("should function for node-Service: udp" , func () {
191
- config := e2enetwork .NewNetworkingTestConfig (f )
191
+ config := e2enetwork .NewNetworkingTestConfig (f , true )
192
192
ginkgo .By (fmt .Sprintf ("dialing(udp) %v (node) --> %v:%v (config.clusterIP)" , config .NodeIP , config .ClusterIP , e2enetwork .ClusterUDPPort ))
193
193
config .DialFromNode ("udp" , config .ClusterIP , e2enetwork .ClusterUDPPort , config .MaxTries , 0 , config .EndpointHostnames ())
194
194
@@ -197,7 +197,7 @@ var _ = SIGDescribe("Networking", func() {
197
197
})
198
198
199
199
ginkgo .It ("should function for endpoint-Service: http" , func () {
200
- config := e2enetwork .NewNetworkingTestConfig (f )
200
+ config := e2enetwork .NewNetworkingTestConfig (f , false )
201
201
ginkgo .By (fmt .Sprintf ("dialing(http) %v (endpoint) --> %v:%v (config.clusterIP)" , config .EndpointPods [0 ].Name , config .ClusterIP , e2enetwork .ClusterHTTPPort ))
202
202
config .DialFromEndpointContainer ("http" , config .ClusterIP , e2enetwork .ClusterHTTPPort , config .MaxTries , 0 , config .EndpointHostnames ())
203
203
@@ -206,7 +206,7 @@ var _ = SIGDescribe("Networking", func() {
206
206
})
207
207
208
208
ginkgo .It ("should function for endpoint-Service: udp" , func () {
209
- config := e2enetwork .NewNetworkingTestConfig (f )
209
+ config := e2enetwork .NewNetworkingTestConfig (f , false )
210
210
ginkgo .By (fmt .Sprintf ("dialing(udp) %v (endpoint) --> %v:%v (config.clusterIP)" , config .EndpointPods [0 ].Name , config .ClusterIP , e2enetwork .ClusterUDPPort ))
211
211
config .DialFromEndpointContainer ("udp" , config .ClusterIP , e2enetwork .ClusterUDPPort , config .MaxTries , 0 , config .EndpointHostnames ())
212
212
@@ -215,7 +215,7 @@ var _ = SIGDescribe("Networking", func() {
215
215
})
216
216
217
217
ginkgo .It ("should update endpoints: http" , func () {
218
- config := e2enetwork .NewNetworkingTestConfig (f )
218
+ config := e2enetwork .NewNetworkingTestConfig (f , false )
219
219
ginkgo .By (fmt .Sprintf ("dialing(http) %v --> %v:%v (config.clusterIP)" , config .TestContainerPod .Name , config .ClusterIP , e2enetwork .ClusterHTTPPort ))
220
220
config .DialFromTestContainer ("http" , config .ClusterIP , e2enetwork .ClusterHTTPPort , config .MaxTries , 0 , config .EndpointHostnames ())
221
221
@@ -226,7 +226,7 @@ var _ = SIGDescribe("Networking", func() {
226
226
})
227
227
228
228
ginkgo .It ("should update endpoints: udp" , func () {
229
- config := e2enetwork .NewNetworkingTestConfig (f )
229
+ config := e2enetwork .NewNetworkingTestConfig (f , false )
230
230
ginkgo .By (fmt .Sprintf ("dialing(udp) %v --> %v:%v (config.clusterIP)" , config .TestContainerPod .Name , config .ClusterIP , e2enetwork .ClusterUDPPort ))
231
231
config .DialFromTestContainer ("udp" , config .ClusterIP , e2enetwork .ClusterUDPPort , config .MaxTries , 0 , config .EndpointHostnames ())
232
232
@@ -238,7 +238,7 @@ var _ = SIGDescribe("Networking", func() {
238
238
239
239
// Slow because we confirm that the nodePort doesn't serve traffic, which requires a period of polling.
240
240
ginkgo .It ("should update nodePort: http [Slow]" , func () {
241
- config := e2enetwork .NewNetworkingTestConfig (f )
241
+ config := e2enetwork .NewNetworkingTestConfig (f , true )
242
242
ginkgo .By (fmt .Sprintf ("dialing(http) %v (node) --> %v:%v (nodeIP)" , config .NodeIP , config .NodeIP , config .NodeHTTPPort ))
243
243
config .DialFromNode ("http" , config .NodeIP , config .NodeHTTPPort , config .MaxTries , 0 , config .EndpointHostnames ())
244
244
@@ -250,7 +250,7 @@ var _ = SIGDescribe("Networking", func() {
250
250
251
251
// Slow because we confirm that the nodePort doesn't serve traffic, which requires a period of polling.
252
252
ginkgo .It ("should update nodePort: udp [Slow]" , func () {
253
- config := e2enetwork .NewNetworkingTestConfig (f )
253
+ config := e2enetwork .NewNetworkingTestConfig (f , true )
254
254
ginkgo .By (fmt .Sprintf ("dialing(udp) %v (node) --> %v:%v (nodeIP)" , config .NodeIP , config .NodeIP , config .NodeUDPPort ))
255
255
config .DialFromNode ("udp" , config .NodeIP , config .NodeUDPPort , config .MaxTries , 0 , config .EndpointHostnames ())
256
256
@@ -262,7 +262,7 @@ var _ = SIGDescribe("Networking", func() {
262
262
263
263
// [LinuxOnly]: Windows does not support session affinity.
264
264
ginkgo .It ("should function for client IP based session affinity: http [LinuxOnly]" , func () {
265
- config := e2enetwork .NewNetworkingTestConfig (f )
265
+ config := e2enetwork .NewNetworkingTestConfig (f , false )
266
266
ginkgo .By (fmt .Sprintf ("dialing(http) %v --> %v:%v" , config .TestContainerPod .Name , config .SessionAffinityService .Spec .ClusterIP , e2enetwork .ClusterHTTPPort ))
267
267
268
268
// Check if number of endpoints returned are exactly one.
@@ -280,7 +280,7 @@ var _ = SIGDescribe("Networking", func() {
280
280
281
281
// [LinuxOnly]: Windows does not support session affinity.
282
282
ginkgo .It ("should function for client IP based session affinity: udp [LinuxOnly]" , func () {
283
- config := e2enetwork .NewNetworkingTestConfig (f )
283
+ config := e2enetwork .NewNetworkingTestConfig (f , false )
284
284
ginkgo .By (fmt .Sprintf ("dialing(udp) %v --> %v:%v" , config .TestContainerPod .Name , config .SessionAffinityService .Spec .ClusterIP , e2enetwork .ClusterUDPPort ))
285
285
286
286
// Check if number of endpoints returned are exactly one.
@@ -297,14 +297,14 @@ var _ = SIGDescribe("Networking", func() {
297
297
})
298
298
299
299
ginkgo .It ("should be able to handle large requests: http" , func () {
300
- config := e2enetwork .NewNetworkingTestConfig (f )
300
+ config := e2enetwork .NewNetworkingTestConfig (f , false )
301
301
ginkgo .By (fmt .Sprintf ("dialing(http) %v --> %v:%v (config.clusterIP)" , config .TestContainerPod .Name , config .ClusterIP , e2enetwork .ClusterHTTPPort ))
302
302
message := strings .Repeat ("42" , 1000 )
303
303
config .DialEchoFromTestContainer ("http" , config .ClusterIP , e2enetwork .ClusterHTTPPort , config .MaxTries , 0 , message )
304
304
})
305
305
306
306
ginkgo .It ("should be able to handle large requests: udp" , func () {
307
- config := e2enetwork .NewNetworkingTestConfig (f )
307
+ config := e2enetwork .NewNetworkingTestConfig (f , false )
308
308
ginkgo .By (fmt .Sprintf ("dialing(udp) %v --> %v:%v (config.clusterIP)" , config .TestContainerPod .Name , config .ClusterIP , e2enetwork .ClusterUDPPort ))
309
309
message := "n" + strings .Repeat ("o" , 1999 )
310
310
config .DialEchoFromTestContainer ("udp" , config .ClusterIP , e2enetwork .ClusterUDPPort , config .MaxTries , 0 , message )
0 commit comments