@@ -387,8 +387,8 @@ var _ = common.SIGDescribe("LoadBalancers", feature.LoadBalancer, func() {
387
387
err = udpJig .Scale (ctx , 0 )
388
388
framework .ExpectNoError (err )
389
389
390
- ginkgo .By ("looking for ICMP REJECT on the UDP service's LoadBalancer" )
391
- testRejectedUDP (ctx , udpIngressIP , svcPort , loadBalancerCreateTimeout )
390
+ ginkgo .By ("checking that the UDP service's LoadBalancer is not reachable " )
391
+ testNotReachableUDP (ctx , udpIngressIP , svcPort , loadBalancerCreateTimeout )
392
392
393
393
ginkgo .By ("Scaling the pods to 1" )
394
394
err = udpJig .Scale (ctx , 1 )
@@ -927,11 +927,6 @@ var _ = common.SIGDescribe("LoadBalancers", feature.LoadBalancer, func() {
927
927
})
928
928
929
929
var _ = common .SIGDescribe ("LoadBalancers ExternalTrafficPolicy: Local" , feature .LoadBalancer , framework .WithSlow (), func () {
930
- // FIXME: What are the expected semantics of requesting an
931
- // "ExternalTrafficPolicy: Local" service from a cloud provider that does not
932
- // support that? What are the expected semantics of "ExternalTrafficPolicy: Local"
933
- // on `IPMode: Proxy`-type LoadBalancers?
934
-
935
930
f := framework .NewDefaultFramework ("esipp" )
936
931
f .NamespacePodSecurityLevel = admissionapi .LevelBaseline
937
932
var loadBalancerCreateTimeout time.Duration
@@ -987,6 +982,14 @@ var _ = common.SIGDescribe("LoadBalancers ExternalTrafficPolicy: Local", feature
987
982
framework .ExpectNoError (err )
988
983
})
989
984
985
+ // FIXME: figure out the actual expected semantics for
986
+ // "ExternalTrafficPolicy: Local" + "IPMode: Proxy".
987
+ // https://issues.k8s.io/123714
988
+ ingress := & svc .Status .LoadBalancer .Ingress [0 ]
989
+ if ingress .IP == "" || (ingress .IPMode != nil && * ingress .IPMode == v1 .LoadBalancerIPModeProxy ) {
990
+ e2eskipper .Skipf ("LoadBalancer uses 'Proxy' IPMode" )
991
+ }
992
+
990
993
svcTCPPort := int (svc .Spec .Ports [0 ].Port )
991
994
ingressIP := e2eservice .GetIngressPoint (& svc .Status .LoadBalancer .Ingress [0 ])
992
995
@@ -1133,6 +1136,14 @@ var _ = common.SIGDescribe("LoadBalancers ExternalTrafficPolicy: Local", feature
1133
1136
framework .ExpectNoError (err )
1134
1137
})
1135
1138
1139
+ // FIXME: figure out the actual expected semantics for
1140
+ // "ExternalTrafficPolicy: Local" + "IPMode: Proxy".
1141
+ // https://issues.k8s.io/123714
1142
+ ingress := & svc .Status .LoadBalancer .Ingress [0 ]
1143
+ if ingress .IP == "" || (ingress .IPMode != nil && * ingress .IPMode == v1 .LoadBalancerIPModeProxy ) {
1144
+ e2eskipper .Skipf ("LoadBalancer uses 'Proxy' IPMode" )
1145
+ }
1146
+
1136
1147
ingressIP := e2eservice .GetIngressPoint (& svc .Status .LoadBalancer .Ingress [0 ])
1137
1148
port := strconv .Itoa (int (svc .Spec .Ports [0 ].Port ))
1138
1149
ipPort := net .JoinHostPort (ingressIP , port )
0 commit comments