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

feat(charts): snapshot startup for sequencer #1876

Merged
merged 4 commits into from
Jan 21, 2025

Conversation

joroshiba
Copy link
Member

@joroshiba joroshiba commented Dec 13, 2024

Summary

Adds the ability to start a sequencer node with a snapshot load, speeding up the startup time of a new node.

Background

Starting a new node within k8s requires either manual intervention on the PVC right now, or syncing from genesis. Doing a sync from genesis can be correct but not ideal for scaling infrastructure.

Changes

  • Changes sequencer chart initContainer for to use rclone
  • Pull snapshot if snapshotLoad enabled during initContainer script run.

Testing

Ran locally, and confirmed startup and syncs.

Changelogs

No updates required.

Issues

closes #1912

@github-actions github-actions bot added the cd label Dec 13, 2024
@joroshiba joroshiba force-pushed the joroshiba/snapshot-sync-sequencer-chart branch from 7f3dbb5 to 872a6ea Compare January 13, 2025 19:13
@joroshiba joroshiba force-pushed the joroshiba/snapshot-sync-sequencer-chart branch from 872a6ea to 09443f7 Compare January 13, 2025 19:14
@joroshiba joroshiba marked this pull request as ready for review January 13, 2025 19:21
@joroshiba joroshiba requested a review from a team as a code owner January 13, 2025 19:21
@joroshiba joroshiba enabled auto-merge January 14, 2025 21:14
@joroshiba joroshiba added this pull request to the merge queue Jan 21, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 21, 2025
@joroshiba joroshiba added this pull request to the merge queue Jan 21, 2025
Merged via the queue into main with commit 92d2d46 Jan 21, 2025
46 checks passed
@joroshiba joroshiba deleted the joroshiba/snapshot-sync-sequencer-chart branch January 21, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sequencer chart support for pulling snapshots
2 participants