Skip to content

WIP: Implements Daemon gRCP Server

What does this MR do?

Creates a daemon gRCP server to handle requests from the runner to the autoscaler

The runner will be able to request the autoscaler for a VM and the autoscaler will handle the allocation of that machine, creation, deletion and locking

The Daemon will run as a gRCP Server process with endpoints to achieve the above mentioned actions

Why was this MR needed?

To allow the autoscaler handle the creation, acquisition and release of VMs

Are there points in the code the reviewer needs to double check?

  • TODO comments explain the next steps, which is the communication with the VM Management to create the idle number of VMs at the start of the daemon service
  • Still missing:
  • This MR dependes on !95 (closed), as of now, it only created the Daemon Server
  • Stop command implementation
  • Change protobufs to a new repository
  • Separate gRPC Services into Health and Actions (Start and Stop) strutcs for now
  • Add instructions on how to run on README
  • Add instructions on how to test

What are the relevant issue numbers?

#32

Edited by 🤖 GitLab Bot 🤖

Merge request reports