Skip to main content

Overview

The official myrm-platform Helm Chart deploys the control plane + frontend as a dual-component release on any Kubernetes cluster. Sandbox instances (one per user) are dynamically created by the control plane via the K8s API.
The Helm Chart is for cloud-hosted and enterprise private deployment scenarios. For local single-user setups, use the Desktop App or Local Deployment instead.

Prerequisites

  • Kubernetes cluster (v1.25+)
  • Helm 3.10+
  • kubectl configured for your cluster
  • A pre-created Kubernetes Secret containing at minimum JWT_SECRET

Quick Start

Architecture

Configuration

All configuration is centralized in values.yaml. The chart maps 1:1 to the control plane’s ControlPlaneConfig fields.

Images

Secrets

The chart uses an external Secret pattern — you create the Secret manually, and the chart references it:
Required keys: JWT_SECRET Optional keys: MYRM_CP_STRIPE_SECRET_KEY, MYRM_CP_GOOGLE_OAUTH_CLIENT_SECRET, MYRM_CP_GITHUB_OAUTH_CLIENT_SECRET, MYRM_CP_ADMIN_API_KEY, MYRM_CP_ENTERPRISE_LICENSE_KEY, etc.

Ingress

Persistence

RBAC

The control plane needs permissions to manage sandbox Pods via the K8s API:

Optional Enterprise Features

All disabled by default — enable as needed:

Example: Production-Ready Configuration

Upgrading

The chart uses checksum annotations on ConfigMap and Secret references, so pods automatically restart when configuration changes.

Graceful Shutdown for Sandbox Pods

Each sandbox pod runs a Myrm Agent Server instance with built-in Gateway Drain Control. During rolling updates or pod evictions:
  1. The pod receives SIGTERM from Kubernetes.
  2. The AgentGateway enters draining mode — new Agent requests are rejected with a user-friendly message.
  3. In-flight Agent turns get up to 120 seconds to complete naturally.
  4. After the drain timeout, remaining tasks are safely interrupted.
To allow the drain to complete, ensure your sandbox pod template sets an adequate grace period:
If using PDB (Pod Disruption Budget), this ensures zero-downtime upgrades with no lost Agent work.

Uninstalling