Open aojea opened 3 months ago
Note that whoever implements this probably needs to add an e2e test to kubernetes for it too :slightly_smiling_face:
Hi, I'd like to work on this. As far as I understand, I should add source_prefix_ranges
(or templates with the same function) to the UDP branch of proxyLDSConfigTemplate
, and the tests of UDP are very similar to those of TCP (just replace TCP with UDP). Please figure out if I misunderstand.
However, I am unclear on how to run the e2e test in the Kubernetes repo with cloud-provider-kind. I'd appreciate it if you could give me some instructions.
This script can serve you as guide to run the e2e tests https://github.com/kubernetes-sigs/cloud-provider-kind/blob/main/hack/ci/e2e.sh and more info in https://github.com/kubernetes-sigs/kind/issues/1181#issuecomment-567001724
As far as I understand, I should add
source_prefix_ranges
(or templates with the same function) to the UDP branch ofproxyLDSConfigTemplate
It's been a while since I looked at this, but IIRC, there was no obvious way to just copy the approach we used for TCP into the UDP config. The right options didn't seem to be available? You'll probably have to dig into the envoy documentation a bit...
Originally posted by @danwinship in https://github.com/kubernetes-sigs/cloud-provider-kind/issues/80#issuecomment-2147793066
This require some knowledge of envoy, as a guidance people can use the linked PR above