openremote icon indicating copy to clipboard operation
openremote copied to clipboard

Deploy custom project under local k8s

Open ebariaux opened this issue 1 year ago • 3 comments

User Story

As a Dev, I want to be able to run a custom OR project under k8s on my machine.

Description

Check what additional steps are required to run a custom project, in addition to the stock OR manager.

Acceptance Criteria

  • [ ] 1. Run a custom project locally
  • [ ] 2. Documentation on how to run a custom project under k8s

Implementation Notes

ebariaux avatar Feb 12 '25 11:02 ebariaux

Current mechanism with docker compose is to mount a volume for the customer project on top of a generic manager container.

The corresponding way to do this in Kubernetes would be to use Image Volumes, which at the moment (Feb 2025) is still an alpha feature, disabled by default.

The alternative is to create a specific docker image for each custom project, with the changes baked in. This is already done for Balena.

ebariaux avatar Feb 12 '25 15:02 ebariaux

See section Running custom project in README.md under kubernetes

Although issue talks about local k8s, the mechanism also works for deployment in cloud environments.

ebariaux avatar Mar 07 '25 15:03 ebariaux

As of June 2025, Image Volumes under kubernetes is now a beta feature (still disabled by default)

ebariaux avatar Jun 02 '25 09:06 ebariaux

Still a beta, disabled by default, in k8s 1.33 in Aug 2025

ebariaux avatar Aug 18 '25 11:08 ebariaux