SudoBot ships with Kubernetes manifests in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/onesoft-sudo/sudobot/llms.txt
Use this file to discover all available pages before exploring further.
kubernetes/ directory. These cover a full production deployment: the bot, a PostgreSQL StatefulSet, PersistentVolumes, Services, and a Secrets resource for credentials.
Included manifests
| File | Resource | Description |
|---|---|---|
sudobot-deployment.yml | Deployment | SudoBot bot process |
sudobot-service.yml | Service | Exposes the SudoBot API port |
sudobot-pv.yml | PersistentVolume | Storage for bot data |
sudobot-pvc.yml | PersistentVolumeClaim | Claim for bot storage |
sudobot-secrets.yml | Secret | Discord token, DB password, JWT secret |
postgres-statefulset.yml | StatefulSet | PostgreSQL database |
postgres-service.yml | Service | Internal DB service |
postgres-pv.yml | PersistentVolume | Storage for PostgreSQL |
postgres-pvc.yml | PersistentVolumeClaim | Claim for PostgreSQL storage |
Setup
Create the Secrets resource
Edit The secrets file maps to these keys used by the Deployment:
kubernetes/sudobot-secrets.yml and fill in your base64-encoded credentials:discord_token, client_id, home_guild_id, jwt_secret, db_password.Apply the secrets:Resource limits
The default Deployment sets these resource limits:sudobot-deployment.yml based on your cluster capacity and server load.
Environment variables in the Deployment
The Deployment reads sensitive values from thesudobot Secret and constructs DB_URL dynamically using Kubernetes service environment variables:
/data from the PersistentVolumeClaim.
