ROS 2 on Kubernetes: Discovery, Networking, and What Not to Containerize
Running ROS 2 on Kubernetes: why DDS discovery fails across pods, four fixes (hostNetwork, unicast peers, Discovery Server, Zenoh), and which nodes must stay off the scheduler.
In this article
- Why discovery breaks first
- Option 1: hostNetwork, the quick start
- Option 2: unicast peers with a headless Service
- Option 3: a discovery server
- Option 4: Zenoh, built for this problem
- What should not run on Kubernetes
- A counterexample: containers on a real-time OS
- The compute continuum: robots as cluster nodes
- Smaller details that cost days
- A reasonable first architecture