Official Web Site - Crewmen
- Install Go lang in your device
- Open the command line in the project directory and execute
go run main.go
- Specify metadata related to memory, CPU, disk etc.
- Restart policy - Orchestrator will take an action when a task fails according to the restart policy
- Specify metadata telated to container such as image.
- Determine a set of candidate workers that can run a task
- Score the candidate workers from best to worst
- Pick the worker with the best score
- Accept user request to start/stop tasks
- Schedule tasks onto worker machines
- Monitor tasks, their states and worker machines which they run
- Run tasks as Docker containers.
- Accepting tasks to run from manager.
- Provide statistics to manager for task scheduling.
- Monitor the associated tasks and their states.
- Docker Image Pull Permissions - Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json: dial unix /var/run/docker.sock: connect: permission denied
sudo chmod 666 /var/run/docker.sock
How to download and import a new go module?
go get MODULE_NAME