Kubernetes Deployment
Kubernetes Deployment
Section titled “Kubernetes Deployment”For production deployments with high availability.
Helm Chart
Section titled “Helm Chart”helm repo add flightstack https://charts.flightstack.devhelm install flightstack flightstack/flightstack \ --set postgresql.enabled=true \ --set ingress.enabled=true \ --set ingress.host=flightstack.your-domain.comComponents
Section titled “Components”- API deployment (2+ replicas)
- PostgreSQL StatefulSet
- Redis (optional)
- Ingress controller
Resource Requirements
Section titled “Resource Requirements”| Component | CPU | Memory |
|---|---|---|
| API | 500m | 512Mi |
| PostgreSQL | 500m | 1Gi |
| Redis | 100m | 128Mi |
Secrets
Section titled “Secrets”apiVersion: v1kind: Secretmetadata: name: flightstack-secretsstringData: JWT_SECRET: your-secret DATABASE_URL: postgres://...