Worker
An Worker is a Linux machine identified by its IP address and assigned labels as specified in the worker.json
file.
Rules for Worker
-
SSH Accessibility
- Workers must be accessible over SSH for Maand to function.
-
Required Tools
- Each worker must have the following installed:
make
: For running job Makefiles.rsync
: For file synchronization.
- Each worker must have the following installed:
-
Bucket
- An worker can belong to multiple buckets.
- Buckets are logical groupings of jobs, represented by separate directories.
/opt/worker/<bucket_id>
should have all bucket's folder when a worker belongs to multiple buckets.
-
Linux Compatibility
- Workers must run a Linux or Linux-like operating system.
-
Non-Interactive Command Execution
- The worker's user account must support running commands in a non-interactive manner.
-
Single User and Key Access
- Maand requires a single user and private key for SSH access to all workers.
- The same key is used to authenticate across all workers.
These rules ensure uniformity and reliability when managing agents and executing jobs in Maand.