Skip to content

Production mode (ENABLE_RMF) only supports a single fleet adapter — no multi-fleet support in Helm templates #54

Closed

Description

@billynugrahas

Before proceeding, is there an existing issue or discussion for this?

Description

The current production deployment (ENABLE_RMF: true) is hardcoded for a single fleet adapter. Both
charts/rmf-deployment/values.yaml and charts/rmf-deployment/templates/rmf-site.yaml template use flat single-value fields:

# values.yaml
adapters:
  NAV_GRAPH: /opt/rmf-site/share/rmf_demos_maps/maps/office/nav_graphs/0.yaml
  FLEET_ADAPTER_CONFIG: /opt/rmf-site/share/rmf_demos/config/office/tinyRobot_config.yaml
# rmf-site.yaml — single hardcoded pod
apiVersion: v1
kind: Pod
metadata:
  name: rmf-tinyrobot-fleet-adapter

There is no Helm range loop or list structure to support deploying multiple fleet adapters (e.g., tinyRobot + deliveryRobot + cleaningRobot) in production.

Contrast with simulation mode

In simulation mode (ENABLE_RMF_SIM: true), the launch file (e.g., office.launch.xml) naturally starts multiple fleet adapters because they're all launched together inside a single pod. This works fine.

In production mode, each RMF component runs as a separate Kubernetes pod. The template currently only defines one fleet adapter pod (rmf-tinyrobot-fleet-adapter), so only one fleet can be deployed.

Question for maintainers

Is the single-fleet limitation intentional (e.g., users are expected to fork and extend the template themselves), or is this something the project would accept a PR for?

Implementation Considerations

Maybe can we do something like:

adapters:
fleets:
- name: tinyrobot
nav_graph: /opt/rmf-site/share/.../nav_graphs/0.yaml
fleet_adapter_config: /opt/rmf-site/share/.../tinyRobot_config.yaml
adapter_binary: rmf_demos_fleet_adapter
- name: deliverybot
nav_graph: /opt/rmf-site/share/.../nav_graphs/1.yaml
fleet_adapter_config: /opt/rmf-site/share/.../deliveryRobot_config.yaml
adapter_binary: rmf_demos_fleet_adapter

But it required to change the wrap the pod in a range loop

Alternatives

No response

Additional information

No response

Activity

  1. added
    enhancement
    on May 25, 2026
  2. moved this from Inbox to In Progress in PMC Boardon Jun 2, 2026
  3. aaronchongth commented on Jun 5, 2026

    @aaronchongth
    Member

    Is the single-fleet limitation intentional (e.g., users are expected to fork and extend the template themselves), or is this something the project would accept a PR for?

    It is not meant to be a limitation. In our experience, it has been useful to specifically define each fleet adapter specifically, as each fleet adapter could require very different parameters and configuration.

    There is no Helm range loop or list structure to support deploying multiple fleet adapters (e.g., tinyRobot + deliveryRobot + cleaningRobot) in production.

    This is only meant to be a template, and especially since all the fleet adapters in simulation run using rmf_demos_adapters with just different configurations, it is not very meaningful to repeat those adapters anyway.

    The better way to start multiple rmf_demos fleet adapters on the deployment template would be just to have fleet specific parameters defined in values.yaml, for example tiny_robot_adapter and delivery_robot_adapter instead of adapters, such that within the chart users can define {{ .Values.tiny_robot_adapter.NAV_GRAPH | quote }}.

    I don't believe range loops are necessary

  4. moved this from In Progress to Done in PMC Boardon Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions