Commit 931f0df6 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #35263 from mfanjie/fix-fed-e2e

Automatic merge from submit-queue add required fields to test service fix #35247
parents 432bbb5d 01102e1a
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment