siderolabs / omni

SaaS-simple deployment of Kubernetes - on your own hardware.
Other
522 stars 31 forks source link

fix: implement the controller for handling machine status snapshot #311

Closed Unix4ever closed 3 months ago

Unix4ever commented 4 months ago

Make the controller run tasks that can collect machine status from each machine. Instead of changing the MachineStatusSnapshot directly in the siderolink events handler pass these events to the controller throught the channel, so that all events are handled in the same place.

If either event comes from siderolink or if task runner gets the machine status it updates the MachineStatusSnapshot resource.

Unix4ever commented 3 months ago

/m