apiVersion: v1
kind: Service
metadata:
  name: rest-svc
  labels:
    app: rest
spec:
  selector:
    app: rest
  ports:
  - name: rest
    port: 6000
    targetPort: 6000
    protocol: TCP
  type: NodePort
