orchard/pkg/resource/v1
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
..
resources.go Resources support (#63) 2023-03-27 17:30:54 +04:00
resources_test.go Resources support (#63) 2023-03-27 17:30:54 +04:00
service_account.go Introduce service accounts and bootstrap tokens (#22) 2023-02-21 11:34:12 -05:00
service_account_role.go Introduce service accounts and bootstrap tokens (#22) 2023-02-21 11:34:12 -05:00
v1.go Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00
worker.go Fail VMs if the worker had crashed/is unhealthy (#70) 2023-04-03 16:47:49 +04:00