Production
Before sending production traffic through Archestra, make sure you can restore its database and keys, reach its public endpoints, and run its workloads safely.
Releases and Backups
Test an exact release in staging before applying it to production.
- Read the release's migration and compatibility notes before a Helm upgrade.
- Use PostgreSQL with backups and availability suited to your recovery requirements. The chart's bundled database has one replica.
- Connect it over a private network, with your cloud's identity instead of a password where your cloud supports it.
- Back up PostgreSQL together with authentication, credential-encryption, and content-encryption keys. Test restoring them together; losing an encryption key can make saved data unreadable.
Public Access
Configure Networking before exposing the instance.
- Use HTTPS and configure the public UI and API URLs to match your ingress.
- Test a streaming model request and an MCP tool call through the public endpoint. Set proxy timeouts for long responses.
- For MCP Apps that need persistent browser storage, configure a sandbox domain.
Cluster Security
Archestra runs code other people wrote: MCP servers, agent runs, and sandboxed commands. Keep that code away from the platform's keys, and keep everything except the ingress private.
- Workload namespace: set
archestra.orchestrator.kubernetes.namespaceto a namespace of its own. MCP servers, Agent Runtime sessions and warm pools, and the code sandbox engines run there, unless an environment names another namespace. Kubernetes lets a pod use only the Secrets, ServiceAccounts, and volume claims of its own namespace, so this code cannot reach the platform's keys or act as its ServiceAccount.- Create the namespace before you install: the chart does not create it. Leave its Pod Security Admission level at
privilegedwhile the code sandbox is on, because its engines run privileged. - The chart creates Roles, RoleBindings, ServiceAccounts, and the network policy probe there. The identity that runs
helm upgradeneeds those rights in that namespace, plusescalateon each chart Role that grants a permission it does not hold itself, such aspods/login the read-only Role for Kubernetes MCP servers. With the SRE agent on, the chart also adds a copy of that Role to the release namespace. - When you change it on a running install, the platform recreates MCP servers, warm pools, and sandbox engines in the new namespace at startup, but leaves the old copies running. Delete them from the old namespace by hand. Until you do, warm-pool volumes count twice. Runs already in progress finish where they started.
- Create the namespace before you install: the chart does not create it. Leave its Pod Security Admission level at
- Agent Runtime: set
ARCHESTRA_to a sandboxing RuntimeClass such as gVisor, so a run does not share the node's kernel. Sandboxed Runtime covers each cloud. KeepAGENT_ RUNTIME_ RUNTIME_ CLASS_ NAME ARCHESTRA_off unless runs need Docker: privileged runs ignore the RuntimeClass. Put runtime pods on their own tainted node pool withAGENT_ RUNTIME_ ALLOW_ PRIVILEGED ARCHESTRA_, which adds the matching toleration. See Privileged Containers.AGENT_ RUNTIME_ NODE_ SELECTOR - Secrets outside the chart: keep the platform keys in your secret manager and sync them into a Kubernetes Secret, for example with External Secrets or the Secrets Store CSI driver. Point
archestra.authSecret.existingSecretNameandarchestra.envFromSecretsat it. Argo CD and other tools that render withhelm templateneedexistingSecretName. To keep saved credentials out of PostgreSQL, use Vault. To replace a key, follow Secret Rotation. - Cloud access: give pods cloud permissions through workload identity, such as GKE Workload Identity, EKS IRSA, or AKS Workload Identity, instead of static keys. Grant only the roles Archestra uses. Connect a Database shows it for each cloud's PostgreSQL.
- Private by default: expose only the ingress. Keep the cluster's control plane and the database on private networks. Set
ARCHESTRA_and keep the metrics port, 9050, off the ingress. Put SSO, an identity-aware proxy, or a VPN in front of non-production instances. Microsoft Teams, Outlook email, and Slack or Jira webhooks also need a few public webhook endpoints.METRICS_ SECRET - Egress: verify that your network dataplane enforces workload egress policies. Policy objects alone do not isolate workloads.
- Release images: a released chart pins every image to its digest, and every release image carries a signed build provenance attestation in its registry. Verify Archestra Images before you deploy, or let the cluster admit no other Archestra image.
- Audit trail: export Archestra's audit log over OTLP with
ARCHESTRA_, and send your cluster's Kubernetes audit log to the same SIEM.AUDIT_ LOG_ OTEL_ ENABLED - Deploy access: with the default values, the chart creates nothing outside its namespaces. The CI identity that runs
helm upgradeneeds write access only to the release namespace, the MCP server namespace, and any environment namespaces you list. Do not give people cluster-admin for day-to-day work.
Verify Archestra Images
Make your cluster refuse any Archestra image that Archestra's release workflow did not build. Every release image carries a build provenance attestation, signed with that workflow's GitHub identity and stored next to the image in its registry, where gh, cosign, and admission controllers read it.
A verifier checks three things:
- Images:
docker.io/archestra/platform, andghcr.io/archestra-ai/mcp-server-base,p4-shim,sandbox-base, andagent-*. - Issuer:
https://token.actions.githubusercontent.com. - Identity:
https://github.com/archestra-ai/archestra/.github/workflows/release-please.yml@refs/heads/release/<major>.<minor>for stable releases,@refs/heads/mainfor release candidates.
Check the platform image you run:
IMAGE=$(kubectl -n archestra get deployment archestra-platform \
-o jsonpath='{.spec.template.spec.containers[0].image}')
gh attestation verify "oci://docker.io/archestra/platform@${IMAGE#*@}" \
--repo archestra-ai/archestra --bundle-from-oci
cosign verify-attestation --new-bundle-format --type slsaprovenance1 \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity-regexp '^https://github\.com/archestra-ai/archestra/\.github/workflows/release-please\.yml@refs/heads/(main|release/[0-9]+\.[0-9]+)$' \
"docker.io/archestra/platform@${IMAGE#*@}"
Both commands exit non-zero for an image Archestra did not release. To enforce it at admission:
-
Kyverno: this
SigstoreBundlepolicy rejects a pod whose Archestra image fails the check. Pods with other images pass through.yamlapiVersion: kyverno.io/v1 kind: ClusterPolicy metadata: name: verify-archestra-images spec: webhookTimeoutSeconds: 30 rules: - name: archestra-build-provenance match: any: - resources: kinds: [Pod] verifyImages: - type: SigstoreBundle failureAction: Enforce imageReferences: - "docker.io/archestra/platform*" - "ghcr.io/archestra-ai/mcp-server-base*" - "ghcr.io/archestra-ai/p4-shim*" - "ghcr.io/archestra-ai/sandbox-base*" - "ghcr.io/archestra-ai/agent-*" attestations: - type: https://slsa.dev/provenance/v1 attestors: - entries: - keyless: issuer: https://token.actions.githubusercontent.com subjectRegExp: '^https://github\.com/archestra-ai/archestra/\.github/workflows/release-please\.yml@refs/heads/(main|release/[0-9]+\.[0-9]+)$' rekor: url: https://rekor.sigstore.dev -
Sigstore policy-controller: set
signatureFormat: bundlein aClusterImagePolicywith the issuer and identity above. See Sigstore bundle format. -
GKE Binary Authorization: its Sigstore signature check verifies only public-key signatures in Artifact Registry, so it cannot check these attestations. On GKE, use Kyverno or policy-controller.
What to know:
- To admit release candidates nowhere, drop
main|from the identity pattern. - A registry mirror must copy the attestations with the image:
oras cp -r <image>@<digest> <mirror>/<image>does. Point the policy's image references at the mirror. - An older release may have its attestations on GitHub only. If
--bundle-from-ocifinds none, drop the flag to check with GitHub instead.
Cluster Capacity
Size the web pods, workers, and database for your organization with Sizing and High Availability, which also sets them up to survive a lost node or zone. Validate the size against realistic requests, payloads, and background work in staging before serving production traffic.
- Reserve separate capacity for the code sandbox.
MCP Servers
Budget extra capacity for self-hosted MCP server pods, beyond the web and worker pods.
- Resources: set resource defaults under
archestra.orchestrator.mcpServerResources. For per-server changes, see Self-Hosted Servers. - Placement: MCP server pods inherit the platform pod's node selector and tolerations;
archestra.nodeSelectorandarchestra.tolerationsset shared placement defaults. There is no separate MCP-only node-pool setting in Helm, and inherited selectors still apply to custom server YAML. - Scaling: use node autoscaling to add capacity on compatible nodes as servers start. The web HPA does not scale MCP server pods; optional idle hibernation releases unused capacity.
Agent Runtime
Size runtime capacity separately from the web and worker pods. Follow Runtime Setup for the Agent Sandbox controller, storage, and node placement.
Use node autoscaling on the runtime node pool so the cluster can add capacity as runs create pods. Account for each run's configured CPU, memory, and persistent volume, plus warm-pool spares. The web HPA does not scale runtime pods or cluster nodes.
Infrastructure as Code
Manage Archestra resources such as agents, MCP server installations, and environments declaratively after installing the platform.
- Terraform: use the Terraform provider.
- Crossplane: use the Crossplane provider to declare Archestra resources as Kubernetes objects.
Use a dedicated service account for automation. The provider repository contains source code and examples for both providers.