Documentation Index
Fetch the complete documentation index at: https://astron-bb4261fd.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Kubernetes
Deploy Z3rno on Kubernetes for high availability, auto-scaling, and production-grade operations using the official Helm chart.Prerequisites
- Kubernetes 1.27+
- Helm 3.16+
- kubectl configured for your cluster
- A PostgreSQL database (managed or self-hosted with pgvector and Apache AGE)
Install with Helm
Add the Z3rno Helm repository and install the chart:Configuration reference
Override defaults by passing a custom values file:Key values
| Key | Default | Description |
|---|---|---|
server.replicas | 2 | Number of API server pods |
server.image.tag | latest | Server image tag |
server.port | 8000 | Container port |
server.resources.requests.memory | 256Mi | Memory request |
server.resources.limits.memory | 512Mi | Memory limit |
worker.enabled | true | Enable Celery worker |
worker.replicas | 1 | Number of worker pods |
valkey.enabled | true | Enable bundled Valkey |
valkey.persistence.size | 1Gi | Valkey PVC size |
ingress.enabled | false | Enable Ingress |
autoscaling.enabled | false | Enable HPA |
autoscaling.minReplicas | 2 | Minimum server replicas |
autoscaling.maxReplicas | 10 | Maximum server replicas |
values.yaml for all options.
External database
For production, use a managed PostgreSQL service instead of a bundled database. Create a Kubernetes Secret with your connection string:External Valkey
Replace the bundled Valkey with a managed Valkey service (e.g., ElastiCache):Ingress and TLS
Enable Ingress with TLS using cert-manager:Auto-scaling
Enable the Horizontal Pod Autoscaler to scale server pods based on resource usage:When
autoscaling.enabled is true, the server.replicas value is ignored. The HPA manages replica count.Monitoring
Z3rno exposes Prometheus metrics at/metrics. Use the Prometheus Operator or a standalone Prometheus to scrape metrics:
Upgrading
Upgrade to a new chart or app version:Next steps
Docker Compose
Simpler single-machine deployment for development and small workloads.
Configuration
Full environment variable reference for all Z3rno settings.