Overview of Kubernetes Mode
devKubernetes mode provides a controller-based deployment for running bots at scale. It is recommended when running more than ~1000 bots per host, when high availability is required, or when K8s-native observability and management is needed.
The system uses a Controller Manager that runs two reconciliation controllers:
- Bot Controller: Manages Pods for live (realtime) trading bots.
- Schedule Controller: Manages CronJobs for scheduled bots.
Both controllers watch MongoDB for the desired state and use NATS events to react to changes.