apiVersion: v1
kind: Service
metadata:
  name: docker-nodejs-demo
  namespace: test
spec:
  ports:
  - port: 80
    targetPort: nodejs-port
    protocol: TCP
  selector:
    app: docker-nodejs-demo
  type: NodePort