The system uses Helm charts for Kubernetes deployment.
helm/tradingbots/
├── Chart.yaml # Chart metadata
├── values.yaml # Bot configurations
└── templates/
├── cronjob.yaml # Generates CronJobs for each bot
├── postgresql-secret.yaml
├── postgresql-deployment.yaml
└── postgresql-service.yaml
Edit helm/tradingbots/values.yaml to configure:
- Bot schedules (cron format)
- Resource limits
- Database settings
- Image repository and tags
Add to values.yaml:
bots:
- name: mynewbot
schedule: "*/5 * * * 1-5" # Every 5 minutes, Mon-FriThe CronJob is automatically generated from the template.
Standard cron syntax:
*/5 * * * 1-5- Every 5 minutes, Monday-Friday0 17 * * 1-5- Daily at 5:00 PM, Monday-Friday0 17 * * 2- Weekly on Tuesday at 5:00 PM
helm upgrade --install tradingbots \
./helm/tradingbots \
--create-namespace \
--namespace tradingbots-2025- Kubernetes Deployment - Cluster setup