For the complete documentation index, see llms.txt. This page is also available as Markdown.

Kubernetes + Argo CD

k8s-argo

You can deploy RoadRunner to Kubernetes via GitOps using Argo CD with the official example repository: roadrunner-server/k8s-examples. The chart lives in deploy/charts/roadrunner, and the Argo CD example is in deploy/argocd.

Prerequisites

  • Kubernetes >= 1.26

  • Argo CD installed

  • kubectl access to your cluster

  • A RoadRunner v3 application image in a registry that the cluster can access. See Build the Application Image.

Use the Official Example

Use these files from the upstream repository:

Set image.repository and image.tag to your published v3 application image. The probe paths below require v3.

This profile uses MetalLB for external service access:

Configure Probes

Set the chart probe paths to the RoadRunner v3 status endpoints:

The chart binds the status server to port 2114 in the pod. Liveness accepts active HTTP workers, including busy workers. Readiness requires at least one idle HTTP worker. During graceful shutdown, liveness remains successful and readiness fails. See Health and Readiness checks.

Apply with Argo CD

Commit your values to the repository used by Argo CD. Set repoURL and targetRevision in application.yaml to that repository and revision. Then apply the Argo CD Application manifest:

Verify Sync and Health

To check the status server, forward its pod port:

In another terminal, request the probes:

Troubleshooting

  • If Argo CD shows Progressing and Waiting for controller, Gateway resources are enabled but no Gateway controller/GatewayClass is reconciling them.

  • If your cluster has no Gateway controller, keep gateway.enabled=false and ingress.enabled=false, and use service.type=LoadBalancer.

  • If no external IP appears, verify MetalLB IP pool allocation and inspect service events.

Next Steps

Last updated