Repository navigation
Clean up completed RustFS bucket init Pods - #80
Open
timflannagan wants to merge 2 commits into
Open
timflannagan wants to merge 2 commits into
timflannagan wants to merge 2 commits into
Conversation
The RustFS bucket initializer now expires five minutes after it finishes. Asset staging tolerates an initializer that Kubernetes has already removed. Previously, completed initialization Jobs and their Pods remained in the cluster indefinitely, and later staging assumed the Job was still present. Now, the Kubernetes TTL controller deletes finished Jobs and Pods, while staging waits for initialization only when the Job still exists. Signed-off-by: timflannagan <timflannagan@gmail.com>
The RustFS bucket initializer now runs as a post-install and post-upgrade hook with successful-hook cleanup. Previously, a TTL deleted a release-managed resource. GitOps controllers could treat that deletion as drift and recreate the Job indefinitely. Now, hook-aware installers remove successful Jobs and replace an old Job before the next run, while failed Jobs remain available for diagnosis. Signed-off-by: timflannagan <timflannagan@gmail.com>
EItanya
reviewed
Oct 16, 2026
EItanya
left a comment
There was a problem hiding this comment.
How do helm hooks like these work with argo?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run RustFS bucket initialization as a post-install and post-upgrade hook.
Successful hooks are removed, old hooks are replaced before the next run,
and failed hooks remain available for diagnosis. Micro-VM asset staging
tolerates the successful hook having already been removed.