apiVersion: v1
kind: Service
metadata:
  name: voting-app-service
  labels:
    name: voting-app
    app: example-voting-app
spec:
  type: NodePort
  selector:
    name: voting-app
    app: example-voting-app
  ports:
    - port: 80
      targetPort: 80
      nodePort: 30004

