Helm chart¶
The chart lives in charts/burrowdb.
It runs API replicas, a cron worker and pgbouncer, plus an in-cluster PostgreSQL and MinIO for tests.
burrow up kind and burrow up k8s install it for you; you can also install it with Helm directly.
# kind or another test cluster: everything in-cluster
helm upgrade --install burrowdb charts/burrowdb -n burrowdb --create-namespace -f charts/burrowdb/values-local.yaml
# an existing cluster: your PostgreSQL and S3 bucket
helm upgrade --install burrowdb charts/burrowdb -n burrowdb --create-namespace -f my-values.yaml
helm test burrowdb -n burrowdb
| Reference | Where |
|---|---|
| Every value, with its default | values.yaml |
| Value types and allowed values | values.schema.json (Helm checks it on every install) |
| The values that matter most | Configuration: Helm values |
| What the chart runs, production values, secrets with GitOps, exposing it | Kubernetes |
Before production¶
- burrowDB connects as an ordinary PostgreSQL role (
LOGIN CREATEDB), never a superuser. Setpostgres.admin.*and thedb-bootstrapinit container creates it, or create it yourself (PostgreSQL for the chart). - With Argo CD, Flux or
helm template, setsecrets.mode: explicitand give every secret through an existing Secret; otherwise each render generates new ones (Secrets, helm upgrade and GitOps). - The Service is
ClusterIP. Expose it through the Ingress with TLS; aLoadBalancerserves plain HTTP (Exposing it). - The bundled PostgreSQL and MinIO are for tests only. Use managed PostgreSQL and S3, GCS or another S3-compatible store in production.