github.com/nginxinc/kubernetes-ingress@v1.12.5/tests/data/common/service/nodeport-with-additional-ports.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: nginx-ingress
     5    namespace: nginx-ingress
     6  spec:
     7    type: NodePort 
     8    ports:
     9    - port: 80
    10      targetPort: 80
    11      protocol: TCP
    12      name: http
    13    - port: 443
    14      targetPort: 443
    15      protocol: TCP
    16      name: https
    17    - port: 8080
    18      targetPort: 8080
    19      protocol: TCP
    20      name: api
    21    - port: 9113
    22      targetPort: 9113
    23      protocol: TCP
    24      name: exporter
    25    - port: 3333
    26      targetPort: 3333
    27      protocol: TCP
    28      name: tcp-server
    29    - port: 3334
    30      targetPort: 3334
    31      protocol: UDP
    32      name: udp-server
    33    selector:
    34      app: nginx-ingress