By laurisj
We have encountered an issue with running a relay server that processes UDP calls on DigitalOcean Kubernetes cluster. Even with fully open inbound UDP port range allowing all UDP traffic to go trough firewall, the server still doesn’t seem to respond when pinged.
The k8’s deployment is configured to use host network.
I listed the added firewall rules below.
[...]
inbound_rule {
protocol = "udp"
port_range = "1-65535"
source_addresses = ["0.0.0.0/0", "::/0"]
}
outbound_rule {
protocol = "udp"
port_range = "1-65535"
destination_addresses = ["0.0.0.0/0", "::/0"]
}
outbound_rule {
protocol = "tcp"
port_range = "1-65535"
destination_addresses = ["0.0.0.0/0", "::/0"]
}
outbound_rule {
protocol = "icmp"
port_range = "1-65535"
destination_addresses = ["0.0.0.0/0", "::/0"]
}
[...]
A note: The server works without issues when deployed as a simple docker container without Kubernetes, that leads us to think that the issue could be related Kubernetes, but we haven’t found a specific explanation for that yet.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
was there any answer to this? I have a similar/same problem: need to use host networking in one of my node pools and open a range of ports to the internet. (I’m doing VoIP, notoriously difficult in Kubernetes)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.