Skip to content

Add helmfile generation for deployment in Kubernetes and OpenADScale testing - #13

Merged
cgeller merged 80 commits into
mainfrom
k8s
Oct 31, 2026
Merged

cgeller merged 80 commits into
mainfrom
k8s

Conversation

@cgeller

@cgeller cgeller commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Adds a Kubernetes deployment generated from the existing Compose setup by the openads-helm generator, so Compose stays the single source of truth:

  • deployment/: chart-map.yaml covers what cannot be derived from Compose (CARLA charts, volume policies, excluded profiles). It also contains the helmfile.yaml entrypoint and an add-on NetworkPolicy that isolates the ROS middleware bridge per stack (carla profile only). Generator output in deployment/generated/ is git-ignored.
  • CI: helmfile-oci.yml (GitHub) and .gitlab-ci.yml (GitLab) use the reusable templates of openads-helm (openads-helm#21). They generate and validate the Helmfile and publish it together with .env as the OCI bundle <registry>/<repository>/helmfile:<ref>. This happens on every run: main, version tags and PR source branches. GitLab additionally provides a manual OpenADScale job that runs the scenarios on Kubernetes.
  • Cleanup: The daily ghcr-cleanup.yml deletes helmfile bundles and gui images older than one month. It keeps main/latest and vX.Y.Z. The GUI image is no longer tagged with sha-*.
  • Compose: CARLA_PORT is configurable for the CARLA server, client, ROS bridge and scenario runner. The client and scenario runner read host and port from the environment. CARLA_HOST: carla-server and TRITON_SERVER_URL: triton-server:8001 are set explicitly, so the generator can prefix them per stack.
  • Multi-stack: DEPLOYMENT_PREFIX is optional and allows several stacks per namespace. References to other services of the stack are prefixed automatically. NODE is also optional and pins a stack to one node of a multi-node cluster.

See deployment/README.md for local usage.

Before merge

  • Remove k8s branch trigger from .github/workflows/helmfile-oci.yml
  • Reference a merged ref of the OpenADScale component instead of openadscale@openads
  • Configure the GitLab container registry cleanup policy (keep ^(main|v\d+\.\d+\.\d+)$, remove .*, older than 30 days)

Comment thread .gitignore Resolved
Comment thread TODO Resolved
Comment thread .gitlab-ci.yml Resolved
Comment thread deployment/chart-map.yaml Resolved
@cgeller
cgeller requested a review from lreiher October 20, 2026 20:56
@cgeller cgeller changed the title Add helmfile generation for deployment in Kubernetes Add helmfile generation for deployment in Kubernetes and OpenADScale testing Oct 20, 2026
@cgeller
cgeller marked this pull request as ready for review October 20, 2026 21:03
Comment thread .github/workflows/helmfile-oci.yml Resolved
Comment thread .github/workflows/helmfile.yml Resolved
Comment thread .github/workflows/helmfile.yml Resolved
Comment thread .github/workflows/helmfile-oci.yml Resolved
Comment thread .github/workflows/helmfile.yml Resolved
Comment thread deployment/addons/helmfile.yaml Resolved
Comment thread deployment/addons/values.yaml.gotmpl Resolved
@lreiher

lreiher commented Oct 27, 2026

Copy link
Copy Markdown
Member

And please make sure the PR description is up-to-date.

Comment thread deployment/chart-map.yaml Resolved
Comment thread deployment/chart-map.yaml Resolved
@cgeller
cgeller merged commit 0c502ef into main Oct 31, 2026
3 checks passed
@cgeller
cgeller deleted the k8s branch October 31, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants