apiVersion: v1
kind: Service
metadata:
  labels:
    run: vote-deployment
  name: vote-service
  namespace: vote
spec:
  ports:
  - port: 5000
    protocol: TCP
    targetPort: 80
    nodePort: 31000
  selector:
    run: vote-deployment
  type: NodePort
