Genrevan Scheduler is an open source project builded by GO-JEK intern team. The main purpose of this project is to allocate new container efficiently based on load from LXD worker. This scheduler use LXD worker's metrics like CPU and memory usage to decide which LXD available to create new container.
- Gorilla Mux
- Testify
- Postgresql
Copy and rename development.example.yaml
to development.yaml
in folder /config
. Do the same thing for testing configuration file. Set your environment variable on the configuration file.
go install genrevan-scheduler
genrevan-scheduler migrate
Please define you own seeder first and run genrevan-scheduler seed
genrevan-scheduler start
go test -v -race ./...