-
Notifications
You must be signed in to change notification settings - Fork 0
Cluster (Docker)
Frédéric Branchaud-Charron edited this page Mar 10, 2024
·
1 revision
Reminder A Cluster is only an entity that can create and manage jobs.
It should has the following capabilities (To be continued):
- Create a job from a Job Description
- Get the job info (IP Address, status)
- Get Logs
- Kill
These actions should require some form of authentication, and the changes should be reflected in the database.
Our first cluster is Docker-based, meaning we will use the Docker CLI to spawn jobs locally. By doing so, we can create a solid base for future expansions.
To spawn jobs we will use python-on-whales. It looks simple enough for our usecase.