---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: sample
    component: service-monitor
  name: service-monitor
  namespace: "app"
spec:
  type: NodePort
  ports:
    - name: http
      port: 8080
      protocol: TCP
      targetPort: 8080
      nodePort: 31112
  selector:
    app: sample
