k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/testing/l4ilb/service.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: {{.Name}}
     5    labels:
     6      size: {{.ILBSizeLabel}}
     7    annotations:
     8      cloud.google.com/load-balancer-type: "Internal"
     9  spec:
    10    externalTrafficPolicy: {{.ExternalTrafficPolicy}}
    11    type: LoadBalancer
    12    selector:
    13      name: {{.DeploymentBaseName}}-{{.Index}}
    14    ports:
    15    - port: 8080
    16      targetPort: 80