Helm Chart
The Terrakube Helm chart deploys the API, executor, registry and UI, plus Dex for sign-in, onto any Kubernetes cluster (1.19+) with Helm 3.
helm repo add terrakube-repo https://charts.terrakube.io
helm repo update
helm search repo terrakube-repo/terrakube --versions | head
kubectl create namespace terrakube
helm install terrakube terrakube-repo/terrakube -n terrakubeThat command installs a sandbox: sample data, a demo OpenLDAP directory, and bundled PostgreSQL, MinIO and Valkey. To try it on a laptop follow Minikube or Minikube + HTTPS.
Choose the Terrakube version
The chart's default image tag is its appVersion (chart 4.7.16 ships Terrakube 2.34.0), which can lag the latest release. Pin the versions you want in your values file; they are independent per component and should match:
api:
version: "2.34.0"
executor:
version: "2.34.0"
registry:
version: "2.34.0"
ui:
version: "2.34.0"Images are published to Docker Hub as azbuilder/api-server, azbuilder/executor, azbuilder/open-registry and azbuilder/terrakube-ui (see Docker Images). Pin the chart version too, with helm install ... --version <chart version>, so upgrades are deliberate.
Production checklist
Create a terrakube.yaml and install with helm install --values terrakube.yaml terrakube terrakube-repo/terrakube -n terrakube.
Sign-in
A real Dex connector and security.useOpenLDAP: false. Set security.adminGroup to the group whose members administer Terrakube.
Secrets
New 32-character security.patSecret and security.internalSecret. The values in the chart are public.
Database
api.defaultDatabase: false and your own PostgreSQL, MySQL or SQL Server. Set api.loadSampleData: false.
Redis
api.defaultRedis: false and an external Redis or Valkey. Required when you run more than one API or executor replica.
Storage
storage.defaultStorage: false and S3, Azure Blob, Google Cloud Storage or your own MinIO.
Executors
Replica count sized to peak concurrent runs (each pod runs one job at a time), or ephemeral Kubernetes jobs.
Private CAs and proxies
Custom certificates, or a corporate proxy.
Any component accepts extra environment variables under env, which is how most Terrakube settings in this documentation are applied. Every variable and its default is listed in the Configuration Reference:
Upgrading
Database migrations run automatically when the API starts. Read Upgrading before you upgrade: it has the chart and version compatibility table and the breaking changes for each release.
Last updated
Was this helpful?