apiVersion: v1
kind: Service
metadata:
  name: nginx-svc
  labels:
   app: nginx
spec:
  selector:
    app: nginx
  # type: NodePort
  type: ClusterIP
  ports:
    - name: nginx-port
      protocol: TCP
      port: 80
      targetPort: 80
    - name: nginx-ex-port
      protocol: TCP
      port: 9113
      targetPort: 9113
