Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapshotEngine: retire snapshot warmer #602

Merged
merged 10 commits into from
Oct 3, 2023
Merged

snapshotEngine: retire snapshot warmer #602

merged 10 commits into from
Oct 3, 2023

Conversation

orcutt989
Copy link
Contributor

There doesnt appear to be a minimum charge for volume snapshots in AWS, but int DigitalOcean this is $0.01. Snapshot engine creates a substantial amount of volume snapshots so it makes sense to retire the snapshot warmer.

The snapshot warmer would continuously take a snapshot every 10 minutes (DO api timeout) to make sure that there was always the latest available for the next Tezos artifact generation job.

Now this PR gets rid of the snapshot warmer DP and instead has the snapshot maker job take a snapshot, create the pvc, then delete the snapshot so its only around for a short period of time.

@orcutt989 orcutt989 changed the title snapshotEngine: return volumesnapshot warmer snapshotEngine: retire volumesnapshot warmer Sep 12, 2023
@orcutt989 orcutt989 changed the title snapshotEngine: retire volumesnapshot warmer snapshotEngine: retire snapshot warmer Sep 12, 2023
@orcutt989 orcutt989 mentioned this pull request Sep 21, 2023
Copy link
Collaborator

@nicolasochem nicolasochem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@orcutt989 orcutt989 merged commit 40bdb62 into master Oct 3, 2023
20 checks passed
@harryttd harryttd deleted the retire-warmer branch October 3, 2023 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants