k8s.io/kubernetes@v1.29.3/test/e2e/testing-manifests/ingress/http/svc.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: echoheadersx
     5    labels:
     6      app: echoheaders
     7  spec:
     8    type: NodePort
     9    ports:
    10    - port: 80
    11      targetPort: 8080
    12      protocol: TCP
    13      name: http
    14    selector:
    15      app: echoheaders
    16  ---
    17  apiVersion: v1
    18  kind: Service
    19  metadata:
    20    name: echoheadersy
    21    labels:
    22      app: echoheaders
    23  spec:
    24    type: NodePort
    25    ports:
    26    - port: 80
    27      targetPort: 8080
    28      protocol: TCP
    29      name: http
    30    selector:
    31      app: echoheaders
    32