New to Voyager? Please start here.
You can preserve client source IP by setting annotation
LoadBalancer type ingresses, the actual configuration generated depends on the underlying cloud provider.
GCE, GKE, Azure, ACS: Sets
Localfor services used to expose HAProxy. See here.
AWS: Enables accept-proxy that enforces the use of the PROXY protocol over any connection accepted by any of the sockets declared on the same line.
NodePort type ingresses, it sets
Local regardless the cloud provider.
apiVersion: voyager.appscode.com/v1beta1 kind: Ingress metadata: name: test-ingress namespace: default annotations: ingress.appscode.com/keep-source-ip: "true" ingress.appscode.com/health-check-nodeport: "32312" spec: rules: - host: voyager.appscode.test http: paths: - path: /foo backend: serviceName: test-server servicePort: 80
health-check-nodeport annotation specifies
HealthCheckNodePort field for services used to expose HAProxy. If not specified, it will be auto-assigned by kubernetes. Note that, it is only effective when
true and ingress type is