cirruslabs / orchard

Orchestrator for running Tart Virtual Machines on a cluster of Apple Silicon devices
Other
192 stars 15 forks source link

Startup script/restart policy documentation #101

Closed grigorye closed 1 year ago

grigorye commented 1 year ago

It's not an issue, rather more of a question: do I get it correctly, that if startup script fails, the corresponding vm (with restart policy "OnFailure") would get "restarted"?

edigaryev commented 1 year ago

Yes, the startup script failure results in VM changing it's state to failed.

failed VMs will get re-scheduled (with the same settings as they've been instantiated, but possibly on another worker) if their restart policy is set to OnFailure.