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

  1. SSH Accessibility

    • Workers must be accessible over SSH for Maand to function.
  2. Required Tools

    • Each worker must have the following installed:
      • make: For running job Makefiles.
      • rsync: For file synchronization.
  3. 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.
  4. Linux Compatibility

    • Workers must run a Linux or Linux-like operating system.
  5. Non-Interactive Command Execution

    • The worker's user account must support running commands in a non-interactive manner.
  6. 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.