I have a (working) test program that sends and receives messages across UDP multicast. I've successfully deployed it to kubernetes cluster and demonstrated two pods communicating with one another. The only catch with this is that I need to add hostNetwork: true
to the pod specs. As I understand it, this disables all the network virtualization that would otherwise be available. I've also tried
- containerPort: 12345
hostPort: 12345
protocol: UDP
but when I use that without hostNetwork
communication fails.
Is there a way to get this working whilst still being able to use the normal network for everything else? (We're unlikely to want to switch network layer to something like Weave.)