brickie

by Hatchet

Helm chartv0.1.5App 0.1.7Verified publisher

Hatchet sandbox provider. Runs agent sandboxes as Hatchet tasks on Kubernetes, one isolated pod per sandbox, with agent-sandbox and Kata Containers bundled.

About this chart

brickie

A Helm chart that deploys brickie, the Hatchet sandbox provider, on Kubernetes. The provider connects to a Hatchet tenant as a gRPC operator and runs agent sandboxes as Hatchet tasks, one isolated pod per sandbox.

⚠️ Preview. brickie and this chart are in preview. Values, defaults and resource names may change between releases without a deprecation cycle. More information is coming soon.

Prerequisites

  • Kubernetes 1.30+
  • Helm 3.8+
  • A Hatchet tenant on Hatchet Cloud or a self-hosted Hatchet v0.110+ with SERVER_GRPC_OPERATORS_ENABLED=true, and a client token for it
  • For Kata Containers (the default runtime), x86 nodes with /dev/kvm
  • An object store the provider can read and write (S3, GCS, Azure Blob, or an S3-compatible endpoint) for anything beyond development

Installing the chart

helm repo add hatchet https://hatchet-dev.github.io/hatchet-charts
helm repo update
helm install brickie hatchet/brickie \
  --set hatchet.token=$HATCHET_CLIENT_TOKEN \
  --set store='s3://my-bucket?prefix=brickie/'

Uninstalling the chart

helm uninstall brickie

Dependencies

ComponentSubchartCondition
agent-sandbox controlleragent-sandbox v1.0.8, bundled; upstream publishes no chartagent-sandbox.enabled
Kata Containerskata-deploy 4.2.0 from oci://quay.io/kata-containers/kata-deploy-chartskata-deploy.enabled

Both sections accept all values of their respective subcharts. Set a condition to false when the component is already on the cluster.

Values validation

This chart ships a values.schema.json. Helm validates your supplied values against it on install, upgrade, template and lint. Unknown keys are rejected.

Parameters

Hatchet

KeyTypeDefaultDescription
hatchet.tokenstring""Hatchet client token. Stored by the chart in a Secret. One of hatchet.token or hatchet.existingSecret is required.
hatchet.existingSecretstring""Name of an existing Secret with the key HATCHET_CLIENT_TOKEN.

Provider

KeyTypeDefaultDescription
image.repositorystring"ghcr.io/hatchet-dev/brickie"Provider image repository. The same image runs in every sandbox pod as the TLS proxy in front of the sandbox daemon.
image.tagstringchart appVersionProvider image tag.
image.pullPolicystring"IfNotPresent"Provider image pull policy.
imagePullSecretslist[]Pull secrets for the provider image.
replicaCountint1Provider replicas. Keep at 1: calls on one sandbox are serialized inside the provider.
slotsint10Sandbox calls the provider runs at the same time.
serviceAccount.annotationsobject{}Annotations on the provider ServiceAccount, for example an IRSA role ARN for the object store.
resourcesobject{}Provider pod resources.
nodeSelectorobject{}Provider pod node selector.
tolerationslist[]Provider pod tolerations.
extraEnvlist[]Extra environment variables for the provider container, for example AWS_USE_FIPS_ENDPOINT. Never reaches sandbox pods.
extraEnvFromlist[]Extra envFrom sources for the provider container, such as secretRef or configMapRef.

Store

KeyTypeDefaultDescription
storestring""Bucket for snapshots, sandbox metadata, and files larger than sandbox.maxFileBytes: s3://bucket?prefix=p/&region=r, gs://bucket?prefix=p/, azblob://container?prefix=p/, or s3://bucket?prefix=p/&endpoint=https://host&use_path_style=true. Empty keeps everything on the pod's emptyDir; development only.
storeSecretstring""Name of a Secret with the store credentials (AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, or the GCP and Azure equivalents), when not using workload identity.

Sandboxes

KeyTypeDefaultDescription
sandbox.namespacestringrelease namespaceNamespace for sandbox pods and claims.
sandbox.imagestring"alpine:3"Default sandbox image. Needs sh and tar.
sandbox.runtimestring"kata"Runtime class for sandbox pods: kata (kata-clh), gvisor, nitro (EKS isolated-sandbox, set kata-deploy.enabled: false), auto (kata, gvisor, nitro, then the default runtime), none, or any RuntimeClass name.
sandbox.warmReplicasint2Ready pods each warm pool keeps.
sandbox.idleTTLstring"30m"Remove a sandbox after this long without a call.
sandbox.maxIdleTTLstring"24h"Largest idle timeout a sandbox may ask for at create.
sandbox.maxFileBytesint2097152Largest file carried inside a Hatchet task; larger files go through store.
sandbox.egressstring"internet"What sandboxes may reach: internet (public addresses and cluster DNS) or none. Enforced by the sandbox NetworkPolicy where the CNI supports it.
sandbox.nodeSelectorobject{}Node labels sandbox pods are placed on, in addition to the runtime class's own selector.
sandbox.tolerationslist[]Tolerations on sandbox pods, for tainted sandbox nodes. Give the Kata installer the same ones through kata-deploy.tolerations.
sandbox.initContainerslist[]Kubernetes container specs run as init containers in every sandbox pod, in order, before the sandbox starts, under its runtime class. For checks such as a FIPS verification script.
sandbox.resources.cpustring"1"CPU limit per sandbox pod.
sandbox.resources.memorystring"2Gi"Memory limit per sandbox pod.
sandbox.resources.diskstring"10Gi"Ephemeral-storage limit per sandbox pod, also the workspace volume size limit.

Network policy

KeyTypeDefaultDescription
networkPolicy.egressCIDRslist[]CIDRs sandboxes may reach in addition to sandbox.egress. Rendered as a second NetworkPolicy when set.
networkPolicy.allowDNSbooltrueInclude cluster DNS in that policy.

Runtimes

KeyTypeDefaultDescription
kata-deploy.enabledbooltrueInstall Kata Containers with the bundled kata-deploy chart (Cloud Hypervisor shim, DaemonSet mode).
kata-deploy.nodeSelectorobjectunsetLimit the Kata installer to selected nodes.
kata-deploy.shims.clh.dropInstringkernel_params with fips=1Kata config drop-in for the kata-clh shim. The default boots every sandbox guest kernel in FIPS mode; set "" to turn it off.
gvisor.installboolfalseInstall gVisor with a DaemonSet and create the gvisor RuntimeClass.
gvisor.releasestring"20261005.0"gVisor release to install.
gvisor.nodeSelectorobject{}Limit the gVisor installer and RuntimeClass to selected nodes.
agent-sandbox.enabledbooltrueInstall the agent-sandbox controller with the bundled chart.
agent-sandbox.image.repositorystringghcr.io/hatchet-dev/agent-sandbox-controllerController image, a FIPS 140-3 build of the upstream release.
agent-sandbox.image.tagstring"v1.0.8"Controller version. Must match the sandboxd tag built into brickie.

License

MIT. See LICENSE.

Deploy brickie with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has brickie on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartbrickie is pinned at v0.1.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply