apiVersion: v1
kind: Service
metadata:
  name: my-np-service
  namespace: test
spec:
  type: NodePort
  selector:
    app: metrics
    department: engineering
  ports:
  - protocol: TCP
    port: 80
    targetPort: 50000