kind: Service
apiVersion: v1
metadata:
  name: haproxy-service
spec:
  selector:
    app: haproxy
  ports:
    - name: http
      protocol: TCP
      port: 8000
      nodePort: 31000
    - name: https
      protocol: TCP
      port: 9000
      nodePort: 31001
    - name: stats
      protocol: TCP
      port: 26999
      nodePort: 31002
  type: NodePort
