apiVersion: v1
kind: Service
metadata:
  name: nginx-service
  labels:
    app: nginx-service
spec:
  ports:
    - port: 80
      targetPort: 80
      protocol: TCP
      name: web
    - port: 9113
      targetPort: 9113
      protocol: TCP
      name: exporter
  selector:
    app: nginx