Kubernetes in Ubuntu


-
Exploring ROS 2 with Kubernetes | Ubuntu
Kubernetes provides many critical attributes that can contribute to a robust robotics platform: isolated workloads, automated deployments, self-configuring work processes, and an infrastructure that is both declarative and immutable. However, robots designed with ROS 2 face challenges in setting up individual components on Kubernetes so that all parts smoothly work together. In this blog series, we construct a prototype ROS 2 system distributed across multiple computers using Kubernetes. Our goal is not only to provide you with a working configuration, but also to help you understand why it succeeds and overcome future design challenges.
Getting into Kubernetes can be a pretty steep learning curve, so our prototype will use MicroK8s to make it easy. MicroK8s is a lightweight pure-upstream Kubernetes distribution and offers low-touch, self-healing, highly-available clusters. Its low resource footprint makes it ideal for running on robot computers. Even with very little Kubernetes experience you’ll quickly have a complete cluster up and running.
This article will introduce some of the core concepts for our prototype design. Follow-on articles instantiate a ROS 2 talker/listener prototype on a single computer, then extend the prototype with alternative options and distributing compute across multiple computers.
[...]
Within a single pod, containers can reach each other on the localhost address (127.0.0.1), and the host machine’s loopback interface is attached to each container. However, since all pods use the same actual interface, they must coordinate port usage so that no two pods communicate using the same port at the same time.
Should multiple containers within a single pod listen on the same port (for example, identical containers all hosting a web server on port 80), a Kubernetes service can be defined to expose the application and route incoming to containers. However, Kubernetes services typically perform port or address translation which, as we discussed earlier, interferes with ROS 2 communications. Kubernetes services cannot be used for ROS 2 network traffic.
Additionally, ROS 2 does not provide a method for managing ports used by RTPS. For example, a container can not change the standard RTPS discovery port of 7400, nor can a ROS 2 listener select a port other than its default. As a result, port usage can not be coordinated across multiple ROS 2 containers running in the same pod, and these containers generally will not be able to communicate.
-
How Kubernetes is transforming the industrial edge | Ubuntu
In recent years, various platforms have emerged to support agile digital factory DevOps, but most industrial edge platforms have been held back by limitations to application scaling and management – and this is where Kubernetes at the edge comes in.
Kubernetes is a container orchestration system. Containers make it possible to manage applications independently from their underlying technologies, and since factories are often highly heterogeneous environments, this independence is invaluable. Kubernetes simplifies matters even further by enabling an automated approach to scaling and managing large numbers of containerised applications across distributed infrastructure.
Kubernetes is already well-established in the cloud arena, and the PAC RADAR report anticipates that it will soon gain traction at the industrial edge as organisations increasingly look to leverage cloud agility within their IoT environments. As the report explains: “Thanks to the latest innovations in the cloud world, we can predict quite easily what the next wave of ‘cloud-native’ innovations will bring to the industrial edge (and the data center). Kubernetes will be the next big thing at the edge, as it already is in the cloud.”
In this respect, Canonical is ahead of the curve. MicroK8s is a fully containerised, lightweight, fast, and secure Kubernetes distribution optimised for edge and IoT production environments. As the report notes, MicroK8s has already reached 3,750 stars on GitHub – clearly demonstrating both its popularity and the developer appetite for Kubernetes at the edge. Additionally, MicroK8s offers a zero-ops experience, eliminating the main drawback to Kubernetes-based solutions identified in the report: complexity.
Another advantage of Kubernetes is that it is multi-cloud, meaning it can integrate with cloud infrastructure across providers to enable further scalability beyond the edge. According to the report, this is another area in which Canonical excels thanks to Charmed Kubernetes: a composable Kubernetes distribution that can run on bare metal, VMware, Openstack and all major public clouds.
-

- Login or register to post comments
Printer-friendly version- 4428 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago