apiVersion: v1
kind: Service
metadata:
  name: stolon-proxy-service
  namespace: postgresql
spec:
  ports:
    - port: 5432
      targetPort: 5432
  selector:
    component: stolon-proxy
    stolon-cluster: kube-stolon
  type: LoadBalancer
  loadBalancerIP: 10.240.0.100