• Stars
    star
    142
  • Rank 250,343 (Top 6 %)
  • Language
    Shell
  • License
    Creative Commons ...
  • Created about 4 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Kuberenetes / ROS&ROS2 Cluster Samples

build-docker-images

ROS Kubernetes

Abstract

This repository provides tutorials how to use ROS and ROS 2 with Kubernetes Cluster System. User might need to have knowledge about Kubernetes to understand what is really going on the cluster system.

Motivation

The primary goal for this repository is that everyone can try ROS and ROS 2 with Kubernetes Cluster. Using container images and container orchestration allows application developer to be agnostic from system platform but only application logic. ROS and ROS 2 provides good isolation between nodes, so that we can take the most advantage of application runtime framework and container orchestration.

To share the information and experience for this can bring more use cases and requirements, so that we can develop more robotics and robot requirements for container orchestration. The concept to bring Cloud Native Container Orchestration to edge IoT devices are already topic and discussed in Kubernetes Edge IoT WG. But key point here is robot and robotics, which can be much more complicated than usual edge IoT devices such as complicated and special devices, hardware acceleration and so on. To break down the requirements for robot and robotics would be very much useful for ROS and ROS 2 user, also Kubernetes container orchestration for edge IoT use cases.

Supported ROS / ROS 2 Distribution

Since Kubernetes uses container images and agnostic from it, any distribution should be supported. But the following is primary supported distribution of ROS and ROS 2.

Cluster System Configuration

We can use either Physical Host System or Virtualized Instance.

  • Host System

This is practical environment for robot and robotics in general. This will set up Kubernetes cluster on host system as followings.

Hostname IP Address OS architecture
tomoyafujita-HP-Compaq-Elite-8300-SFF 192.168.1.248 Ubuntu 20.04.5 LTS x86_64
ubuntu 192.168.1.79 Ubuntu 20.04.5 LTS aarch64
  • Virtualized Instance

This is virtualized Kubernetes cluster environment which can be established on single physical host. We can use this environment if container requires pure computation resource but hardware or physical sensor devices. This environment is very much useful to try or test your container images or services to make sure if those work as expected, and easy to break down whole Kubernetes cluster with one command.

Tutorials

Watch the video

Slides

Reference

Author