-
Notifications
You must be signed in to change notification settings - Fork 19
Description
In 2020, Scaleway proposed KEP-1860, a way to inform Kubernetes whether a load balancer is transparent or not. This can be used if the load balancer applies things like TLS termination or the proxy protocol. If this is the case, any connections from inside the cluster must go to the external load balancer before going back into the cluster. Otherwise, the connections inside the cluster will remain wrapped in TLS while the application expects plaintext, or will not be wrapped in the proxy protocol, while the application expects so.
Since v1.30 this KEP is in beta, i.e. default enabled. This is also the case on Scaleway clusters. This can be observed, because the LoadBalancer Services have their ipMode set to the default:
status:
loadBalancer:
ingress:
- ip: 51.<snip>
ipMode: VIP
However, the next step is to set the ipMode to Proxy properly, if the external LoadBalancer must be used even for traffic inside the cluster. This is the case, for example, if the service.beta.kubernetes.io/scw-loadbalancer-proxy-protocol-v2 annotation is set (there may be other annotations as well).