use ExternalTrafficPolicy local for zero downtime
@@ -50,6 +50,7 @@ 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
if s.Annotations == nil {
s.Annotations = make(map[string]string)
}
