diff --git a/test/e2e/federation-util.go b/test/e2e/federation-util.go index 08fa743d043..ab15fa9f8a4 100644 --- a/test/e2e/federation-util.go +++ b/test/e2e/federation-util.go @@ -263,10 +263,12 @@ func createService(clientset *fedclientset.Clientset, namespace, name string) (* Ports: []v1.ServicePort{ { Name: "http", + Protocol: v1.ProtocolTCP, Port: 80, TargetPort: intstr.FromInt(8080), }, }, + SessionAffinity: v1.ServiceAffinityNone, }, } By(fmt.Sprintf("Trying to create service %q in namespace %q", service.Name, namespace))