apiVersion: v1
kind: Service
metadata:
  name: myapp
spec:
  selector: #match label pod in deploment
    app: myapp
  ports:
  - name: http
    port: 80
    targetPort: 80
    nodePort: 30008
  type: NodePort

