apiVersion: v1
kind: Service
metadata:
  name: result-service
  labels:
    name: result-service
    app: demo-voting-app
spec:
  type: LoadBalancer
  selector:
    name: result-pod
    app: demo-voting-app
  ports:
  - port: 80
    targetPort: 80