SlideRuleEarth / sliderule

Server and client framework for on-demand science data processing in the cloud
https://slideruleearth.io
Other
26 stars 11 forks source link

Provisioning system shutdown hooks #322

Open jpswinski opened 10 months ago

jpswinski commented 10 months ago

Can the provisioning system support life-cycle hooks like AWS does for its EC2 auto-scaling group instances?

For example, could we have a hook where the provisioning system sent a command to the cluster to dump the logs prior to shutting down, and then wait for 2 minutes? Ideally, this functionality would be generic so that we could added/remove things from these hooks (not at the user level, but as developers with each release)