New to Voyager? Please start here.
For LoadBalancer
type ingresses, you can specify LoadBalancerIP
of HAProxy services using ingress.appscode.com/load-balancer-ip
annotation.
Note that, this feature is supported for cloud providers GCE, GKE, Azure, ACS and Openstack.
apiVersion: voyager.appscode.com/v1beta1
kind: Ingress
metadata:
name: test-ingress
namespace: default
annotations:
ingress.appscode.com/load-balancer-ip: "78.11.24.19"
spec:
rules:
- host: voyager.appscode.test
http:
paths:
- path: /foo
backend:
serviceName: test-server
servicePort: 80