pg-spot-ops / pg-spot-operator

Maintains stateful Postgres on Spot VMs
Other
2 stars 0 forks source link

Self-termination feature #20

Closed kmoppel closed 1 day ago

kmoppel commented 1 week ago

A fire-and-forget mode would be great, where the VM terminates itself. Assumes access keys are transferred to the VM though, thus they should have only very limited privileges

pg_spot_operator --self-terminate-access-key-id=x --self-terminate-secret-access-key=y --expiration-date=2025-01-01
scorpevans commented 3 days ago

@kmoppel should this be closed?

kmoppel commented 1 day ago

Done https://github.com/pg-spot-ops/pg-spot-operator/pull/27