apiVersion: v1
kind: Service
metadata:
  name: nginx-ingress-dashboard
  namespace: nginx-ingress
spec:
  type: NodePort
  ports:
    - port: 8080
      targetPort: 8080
      protocol: TCP
      name: dashboard
  selector:
    app: nginx-ingress