siderolabs / omni

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

fix: ignore MachineStatus events timestamps as they're not reliable #299

Closed Unix4ever closed 1 month ago

Unix4ever commented 1 month ago

The timestamp can jump back and forths if the Talos node time is out of sync, so we might ignore proper events.

So instead of reading the timestamp from the event, use Omni server time at the point when the event comes to the system.

In the worst case we'll see the node going through several phases quickly.

Unix4ever commented 1 month ago

/m