Skip to content

Redis recommends 5x of memory allocated as volume size. Since we have maxmemory set, we will 5x that in stead - #626

Merged
wcarlsen merged 1 commit into
mainfrom
bug/falco/redis-pvc-rightsize
Jul 22, 2026
Merged

Redis recommends 5x of memory allocated as volume size. Since we have maxmemory set, we will 5x that in stead#626
wcarlsen merged 1 commit into
mainfrom
bug/falco/redis-pvc-rightsize

Conversation

@wcarlsen

@wcarlsen wcarlsen commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Set maxmemory to intended size so 2048mb and not 2024mb, which is a typo.

Increase PVC size to recommended size, which i 5x of allocated memory. In this case we use maxmory in stead of actual memory. See https://redis.io/docs/latest/operate/kubernetes/recommendations/persistent-volumes/#volume-size

See screenshot for production actual usage.
image

We also see this error in logs

2026-07-22T09:36:52.409765951Z falco-falco-falcosidekick-ui-redis-0 1638:C 22 Jul 2026 09:36:52.409 # Write error while saving DB to the disk(rdbSaveRio): No space left on device
2026-07-22T09:36:52.576013311Z falco-falco-falcosidekick-ui-redis-0 9:M 22 Jul 2026 09:36:52.575 # Background saving error

… maxmemory set, we will 5x that in stead

Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
@wcarlsen
wcarlsen requested a review from a team as a code owner July 22, 2026 09:37
@wcarlsen wcarlsen added bug Something isn't working release:patch labels Jul 22, 2026
@wcarlsen
wcarlsen merged commit 0561038 into main Jul 22, 2026
4 of 8 checks passed
@wcarlsen
wcarlsen deleted the bug/falco/redis-pvc-rightsize branch July 22, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working release:patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants