|
| 1 | +# Rivet Engine Kubernetes Deployment |
| 2 | + |
| 3 | +Kubernetes manifests for deploying Rivet Engine. |
| 4 | + |
| 5 | +## Quick Start |
| 6 | + |
| 7 | +**For a complete quick start guide with copy-paste YAML manifests, see the [Kubernetes documentation](https://rivet.gg/docs/self-hosting/kubernetes).** |
| 8 | + |
| 9 | +## What's in This Directory |
| 10 | + |
| 11 | +The `engine/` directory contains reference Kubernetes manifests for advanced deployments: |
| 12 | + |
| 13 | +- `00-namespace.yaml` - Namespace definition |
| 14 | +- `01-serviceaccount.yaml` - Service account |
| 15 | +- `02-engine-configmap.yaml` - Engine configuration |
| 16 | +- `03-rivet-engine-deployment.yaml` - Main engine deployment |
| 17 | +- `04-rivet-engine-service.yaml` - Service definition |
| 18 | +- `05-rivet-engine-hpa.yaml` - Horizontal Pod Autoscaler |
| 19 | +- `06-rivet-engine-singleton-deployment.yaml` - Singleton services |
| 20 | +- `07-nats-configmap.yaml` - NATS configuration |
| 21 | +- `08-nats-statefulset.yaml` - NATS cluster |
| 22 | +- `09-nats-service.yaml` - NATS service |
| 23 | +- `10-postgres-configmap.yaml` - PostgreSQL configuration |
| 24 | +- `11-postgres-secret.yaml` - PostgreSQL credentials |
| 25 | +- `12-postgres-statefulset.yaml` - PostgreSQL database |
| 26 | +- `13-postgres-service.yaml` - PostgreSQL service |
| 27 | + |
| 28 | +## Local Development |
| 29 | + |
| 30 | +For local development with k3d: |
| 31 | + |
| 32 | +```bash |
| 33 | +./scripts/run/k8s/engine.sh |
| 34 | +``` |
| 35 | + |
| 36 | +This script creates a k3d cluster, builds the image, and deploys everything. |
| 37 | + |
| 38 | +## Production Deployment |
| 39 | + |
| 40 | +For production deployments, see the steps outlined in our [Kubernetes Self-Hosting Guide](https://rivet.gg/docs/self-hosting/kubernetes). |
0 commit comments