Skip to content

Helm chart

Chart location:

  • apps/backend/kubernetes/helm/
ComponentDescription
CockroachDB3-node distributed SQL database (internal, default)
RedisJob queue and execution state
API ServiceFlow-Like API with autoscaling
Executor PoolReusable execution workers with autoscaling
DB Migration JobPrisma migrations on install/upgrade
# API configuration
api:
enabled: true
replicaCount: 3
autoscaling:
enabled: true
minReplicas: 3
maxReplicas: 10
# Executor pool (reusable workers)
executorPool:
enabled: true
replicaCount: 2
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 10
# Database (internal CockroachDB by default)
database:
type: internal # or "external"
internal:
replicas: 3
persistence:
size: 10Gi
# S3-compatible storage (required)
storage:
external:
endpoint: ""
region: "us-east-1"
accessKeyId: ""
secretAccessKey: ""
metaBucket: "flow-like-meta"
contentBucket: "flow-like-content"
Terminal window
cd apps/backend/kubernetes
helm install flow-like ./helm -n flow-like --create-namespace \
--set storage.external.endpoint='https://s3.example.com' \
--set storage.external.accessKeyId='YOUR_KEY' \
--set storage.external.secretAccessKey='YOUR_SECRET'
Terminal window
helm upgrade flow-like ./helm -n flow-like
Terminal window
helm install flow-like ./helm -n flow-like --create-namespace \
--set database.type=external \
--set database.external.connectionString='postgresql://user:pass@host:5432/flowlike' \
--set storage.external.endpoint='https://s3.example.com' \
--set storage.external.accessKeyId='YOUR_KEY' \
--set storage.external.secretAccessKey='YOUR_SECRET'

For production, use externally-managed secrets:

Terminal window
helm install flow-like ./helm -n flow-like --create-namespace \
--set database.external.existingSecret='my-db-secret' \
--set storage.external.existingSecret='my-s3-secret'