Genrevan Agent is an open source project to consume Genrevan Scheduler services. The main functions of this application are:
- Send load metric to Genrevan Scheduler
- Check for new LXC to be allocate
- Golang v 1.10.3
Copy config.example.yaml as config.yaml
- Scheduler_IP and Scheduler_Port is for Genrevan Scheduler Address
- LXD_IP is IP Address where Genrevan Agent Located
go install genrevan-agent
genrevan-agent
go test -v
If you installing LXD from snap (using LXD version 3 and newer), you should add LXD_SOCKET to enviroment variable
LXD_SOCKET=/var/snap/lxd/common/lxd/unix.socket