orchard/internal/worker
Nikolay Edigaryev 4eafec99a5
Fail VMs if the worker had crashed/is unhealthy (#70)
* Fail VMs if the worker had crashed/is unhealthy

* OnDiskName: properly handle cases when VM's name contains hyphens

* Worker: introduce Offline() method and check it before scheduling

* tart.List(): use Tart's JSON output

* OnDiskName: remove empty parts check

* Scheduler: move health-checking logic to a separate function

* Only fail "running" VMs

* Only fail orphaned VMs if they're in terminal state

* Integration tests

* Run healthCheckingLoopIteration() before schedulingLoopIteration()

* Worker: sync on-disk VMs only once at start
2023-04-03 16:47:49 +04:00
..
iokitregistry Remove UID for now and use machine ID to differentiate workers (#48) 2023-03-23 23:38:54 +04:00
ondiskname Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00
tart Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00
vmmanager Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00
option.go Resources support (#63) 2023-03-27 17:30:54 +04:00
rpc.go Reactive Scheduling (#67) 2023-03-28 20:51:41 +04:00
worker.go Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00