Bug Revert part of PR - use ExternalTrafficPolicyLocal
@@ -67,7 +67,8 @@ func (t *UpgradeTest) Setup(f *framework.Framework) {
ginkgo.By("creating a TCP service " + serviceName + " with type=LoadBalancer in namespace " + ns.Name)
tcpService, err := jig.CreateTCPService(func(s *v1.Service) {
s.Spec.Type = v1.ServiceTypeLoadBalancer
- s.Spec.ExternalTrafficPolicy = v1.ServiceExternalTrafficPolicyTypeLocal
+ // ServiceExternalTrafficPolicyTypeCluster performs during disruption, Local does not
+ s.Spec.ExternalTrafficPolicy = v1.ServiceExternalTrafficPolicyTypeCluster
if s.Annotations == nil {
s.Annotations = make(map[string]string)
}
