Auto-resize redis pod storage to ensure it's always at least 3x memory - #3517
Draft
tw4l wants to merge 3 commits into
Draft
Auto-resize redis pod storage to ensure it's always at least 3x memory#3517tw4l wants to merge 3 commits into
tw4l wants to merge 3 commits into
Conversation
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.
Fixes #3470
Following Redis' recommended minimum (see: https://redis.io/docs/latest/operate/rs/installing-upgrading/install/plan-deployment/hardware-requirements/), this PR ensures that anytime crawler auto-sizing is enabled and a Redis pod is auto-sized to be given more memory, we also adjust storage if needed to ensure that the disk is at least 3x the size of allocated RAM. This will greatly reduce the likelihood that our Redis persistence options will result in the disk running out of space.
Kept in draft for now for testing.