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

ci: disable readinessProbes in maintenanceMode #4074

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

conorsch
Copy link
Contributor

While testing upgrades as part of [0], updating the docs in [1], it became clear that during manual maintenance for munging state during chain upgrades procedures, we want all the nodes to be reset together. Therefore if maintenanceMode=true, we'll also disable the readinessProbes, otherwise the rollout will be staged, forcing us to upgrade each node in term, rather than being able to parallelize them. Now, we can pd export and backup state, then update the statefulset to bump the container version (to the post-upgrade version), and restart it in maintenance mode to continue with the pd migrate step and resulting copying around of emitted files.

[0] #4055
[1] https://github.com/penumbra-zone/penumbra/wiki/Performing-upgrades

While testing upgrades as part of [0], updating the docs in [1],
it became clear that during manual maintenance for munging state during
chain upgrades procedures, we want all the nodes to be reset together.
Therefore if maintenanceMode=true, we'll also disable the
readinessProbes, otherwise the rollout will be staged, forcing us to
upgrade each node in term, rather than being able to parallelize them.
Now, we can `pd export` and backup state, then update the statefulset to bump
the container version (to the post-upgrade version), and restart it in
maintenance mode to continue with the `pd migrate` step and resulting
copying around of emitted files.

[0] #4055
[1] https://github.com/penumbra-zone/penumbra/wiki/Performing-upgrades
@conorsch conorsch added C-chore Codebase maintenance that doesn't fix bugs or add features, and isn't urgent or blocking. A-CI/CD Relates to continuous integration & deployment of Penumbra labels Mar 22, 2024
@conorsch conorsch merged commit efb364e into main Mar 22, 2024
7 checks passed
@conorsch conorsch deleted the ci-maintenance-mode-readiness branch March 22, 2024 15:14
conorsch added a commit that referenced this pull request Mar 22, 2024
Follow-up to #4074, after additional migration testing of indexer nodes.
conorsch added a commit that referenced this pull request Mar 22, 2024
Follow-up to #4074, after additional migration testing of indexer nodes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CI/CD Relates to continuous integration & deployment of Penumbra C-chore Codebase maintenance that doesn't fix bugs or add features, and isn't urgent or blocking.
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

1 participant