Kubernetes Deployment
The Helm chart is published as an OCI artifact on GHCR. Its source is in helm/bizon-platform/ in the repository.
Install
Section titled “Install”KEY=$(python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())")helm install bizon oci://ghcr.io/bizon-data/charts/bizon-platform \ --set security.encryptionKey="$KEY"With the defaults, you get the API, one worker, the UI and a bundled Postgres StatefulSet. Without an ingress, port-forward the UI service. It listens on 8080:
kubectl port-forward svc/bizon-bizon-platform-ui 3000:8080# http://localhost:3000With the release name bizon, resources are named bizon-bizon-platform-{api,worker,ui,postgresql}. Upgrade with helm upgrade bizon oci://ghcr.io/bizon-data/charts/bizon-platform -f values.yaml, and pass the same encryption key every time.
Images
Section titled “Images”| Component | Image |
|---|---|
| API and worker | ghcr.io/bizon-data/bizon-platform |
| UI | ghcr.io/bizon-data/bizon-platform-ui |
| Bundled Postgres | cgr.dev/chainguard/postgres |
Images are built for amd64 and arm64 on every push to main, and tagged latest and sha-<short sha>. The chart defaults to latest. Pin api.image.tag, worker.image.tag and ui.image.tag to a sha- tag for repeatable deploys.
Values
Section titled “Values”postgresql: # bundled StatefulSet enabled: true image: { repository, tag, pullPolicy } auth: { database: bizon_platform, username: bizon, password, existingSecret } storage: { size: 10Gi, storageClass } resources: {}
externalDatabase: # used when postgresql.enabled=false host: "" port: 5432 database: bizon_platform username: bizon password: "" existingSecret: "" sslMode: prefer
api: # same keys for worker and ui image: { repository, tag, pullPolicy } replicaCount: 1 resources: {} podAnnotations: {} nodeSelector: {} tolerations: [] affinity: {} service: { type: ClusterIP, port: 8000 } # ui.service.port is 8080
worker: autoscaling: enabled: false minReplicas: 1 maxReplicas: 10 targetCPUUtilizationPercentage: 80 targetMemoryUtilizationPercentage: 80
security: encryptionKey: "..." # ships with a dev key: override it existingEncryptionKeySecret: "" adminPassword: "" existingAdminPasswordSecret: ""
config: debug: false workerPollInterval: 2 logRetentionDays: 30 customSourcesDir: /custom_sources instanceName: Bizon instanceDescription: Data pipeline orchestration platform corsAllowedOrigins: [http://localhost:5173, http://localhost:3000]
gitSync: enabled: false repoUrl: "" branch: main path: custom_sources token: "" existingTokenSecret: "" webhookSecret: "" existingWebhookSecret: ""
storage: outputs: { size: 10Gi, storageClass: "", accessMode: ReadWriteOnce } customSources: { size: 1Gi, storageClass: "", accessMode: ReadWriteOnce }
ingress: enabled: false className: "" annotations: {} hosts: - host: bizon.local paths: [{ path: /, pathType: Prefix }] tls: []
global: { imagePullSecrets: [] }serviceAccount: { create: true, name: "", annotations: {} }podSecurityContext: { fsGroup: 1000 }securityContext: { runAsNonRoot: true, runAsUser: 1000, allowPrivilegeEscalation: false, capabilities: { drop: [ALL] } }The repository also has values-production.yaml, an example with an external database, worker autoscaling, ReadWriteMany storage and a TLS ingress.
Secrets
Section titled “Secrets”Unless you point at existing Secrets, the chart creates:
| Secret | Keys |
|---|---|
<fullname>-secrets | encryption-key, admin-password, git-token |
<fullname>-postgresql (bundled DB) or <fullname>-external-db | postgres-password |
To use your own, create a Secret with the same key name and reference it:
| Value | Required key |
|---|---|
security.existingEncryptionKeySecret | encryption-key |
security.existingAdminPasswordSecret | admin-password |
gitSync.existingTokenSecret | git-token |
gitSync.existingWebhookSecret | git-webhook-secret |
postgresql.auth.existingSecret / externalDatabase.existingSecret | postgres-password |
kubectl create secret generic bizon-encryption \ --from-literal=encryption-key="$KEY"External database
Section titled “External database”postgresql: enabled: falseexternalDatabase: host: postgres.example.com database: bizon_platform username: bizon existingSecret: bizon-db # key: postgres-passwordThe chart builds DATABASE_URL as postgresql+asyncpg://user:password@host:port/database. externalDatabase.sslMode is not used in that URL.
Migrations
Section titled “Migrations”The API pod has an init container that runs alembic upgrade head before the API starts. There is no separate migration job.
Ingress
Section titled “Ingress”ingress: enabled: true className: nginx hosts: - host: bizon.example.com paths: - path: / pathType: Prefix tls: - secretName: bizon-tls hosts: [bizon.example.com]For each host, the chart routes /api to the API service and the listed paths to the UI service.
Workers and storage
Section titled “Workers and storage”Scale workers with worker.replicaCount, or set worker.autoscaling.enabled: true to create a CPU and memory HorizontalPodAutoscaler. Keep api.replicaCount at 1: every API pod runs its own scheduler.
The API and the workers share two PVCs:
| PVC | Mount | Holds |
|---|---|---|
<fullname>-outputs | /data/outputs | Run logs and file destination outputs |
<fullname>-custom-sources | /custom_sources | Custom sources |
They default to ReadWriteOnce, which only works while every API and worker pod lands on the same node. With several nodes, set storage.*.accessMode: ReadWriteMany and an RWX storage class.
Probes
Section titled “Probes”Probes are fixed in the templates:
- API: liveness and readiness on
GET /api/health. It returns 200 even when the database is down. - UI: nginx’s
/health. - Worker: liveness checks that the worker process is running.
Gotchas
Section titled “Gotchas”- Encryption key.
values.yamlships a hardcoded development key. Always setsecurity.encryptionKeyto your own Fernet key, or useexistingEncryptionKeySecret. If you set it to an empty string, the chart generates a random value on every render, so an upgrade would make stored configs unreadable. - UI port. The UI service and container listen on 8080, not 80.
- Metrics. There is no metrics endpoint and no ServiceMonitor. The Prometheus annotations in
values-production.yamlpoint at/api/metrics, which doesn’t exist.