Skip to content
deployment · 10 min

Deploying to Kubernetes

Each service ships a Helm chart with production-safe defaults.

1 Helm charts

Every repo has a deployment/helm directory with a values.yaml. Replicas, resources, ingress, and secret references are parameterised.

2 Install a service

Point Helm at the chart and supply values.

helm install flytrap ./deployment/helm \
  -f my-values.yaml \
  --namespace baseblox --create-namespace

3 Ingress

UI mode is supported by default. Wire the ingress to port 8080. Use cert-manager for TLS.

4 Dependencies

Provide a Redis URL, an S3 endpoint, and a database URL. Most services can share a Redis or Postgres.

5 Health and readiness

Point liveness and readiness probes at GET /up. The service fails startup loudly if any dependency is unreachable.

Keep reading

Related guides

Ready when you are

Ship the blocks. Focus on the product.

Docker-ready microservices you can deploy in an afternoon. Learn one, use them all.