Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
netikras34916260d@SidTheITGuy please share your wisdom, I'd very much like to know how to restore a pgdump into a pod that keeps restarting every ~30 minutes (the import takes ~1h)
-
Grumm1829259d
-
lungdart3466258dSpin up an ec2 node and affinity your pod/stateful set to it. Pgdump to restore the volume, then kill it and let spot instances do their thing
-
lungdart3466258dIt's one thing to reduce costs, but you need to engineer this into a break glass feature, that you ideally deploy from TF using a feature flag to enable
restoring a 2TB DEV DB running in k8s on SPOT instances is like trying to aim at a moving target. With a slingshot.
rant