Closed mecampbellsoup closed 8 months ago
This is tehnically more like a bug in K8s which doesn't permit something rather reasonable, but from the looks of it it should work for K8s implementing MixedProtocolLBService, meaning K8s v1.24+. We can gate this for v1.24+, certainly, thanks for reporting this.
Fix incoming in https://github.com/haproxytech/helm-charts/commit/cad184c970f233d653b30120c160858cf64a1609. We have discussed this matter and alternatives for K8s < 1.24 are all rather inelegant, so we have opted for requiring K8s 1.24 (which has MixedProtocolLBService feature gate enabled by default) to be able to use QUIC and bind to both udp and tcp protocol for the same port. Even K8s 1.24 is rather "old" in terms of release and its active support has ended 7 months ago, so this seems like a reasonable choice going forward.
A
quic
port was added to the controller service template:https://github.com/haproxytech/helm-charts/commit/af6247950174c3794780dabb4b766a8d7ef23805
However, the service is no longer valid since there are 2 protocols which seems to be unsupported as I'm getting this error:
This is the template being installed:
For now I can set
enablePorts.quic = false
, but at some point I probably would need to be able to enable that port so I wanted to inform you of this error.I believe later versions of k8s would not see this error. We are running 1.20.15 IIRC.
Related to https://github.com/kubernetes/kubernetes/issues/23880.