orchard/internal/controller
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
..
notifier Remove UID for now and use machine ID to differentiate workers (#48) 2023-03-23 23:38:54 +04:00
proxy Refactorings for simplify readability (#35) 2023-03-17 06:11:28 -04:00
scheduler Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00
store Events Entity (#28) 2023-03-13 08:04:17 -04:00
api.go REST API: provide error messages in error responses (#66) 2023-03-27 14:12:03 -04:00
api_service_accounts.go REST API: provide error messages in error responses (#66) 2023-03-27 14:12:03 -04:00
api_test.go REST API: provide error messages in error responses (#66) 2023-03-27 14:12:03 -04:00
api_vms.go Reactive Scheduling (#67) 2023-03-28 20:51:41 +04:00
api_vms_portforward.go Make port-forward endpoint to wait for the VM (#65) 2023-03-27 23:52:21 +04:00
api_workers.go REST API: provide error messages in error responses (#66) 2023-03-27 14:12:03 -04:00
controller.go Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00
datadir.go Consolidate controller bootstrap login in `run` command (#38) 2023-03-21 15:36:55 -04:00
errorresponse.go REST API: provide error messages in error responses (#66) 2023-03-27 14:12:03 -04:00
option.go Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00
rpc.go Remove UID for now and use machine ID to differentiate workers (#48) 2023-03-23 23:38:54 +04:00