---
    apiVersion: v1
    kind: Service
    metadata:
      name: restapiexpose
    spec:
      type: NodePort
      selector:
        app: rest-api
      ports:
      - protocol: TCP
        targetPort: 3000
        port: 3000
        nodePort: 30006