Skip to content

Conversation

@travagliad
Copy link
Collaborator

This pull request configures memory limits and eviction policies for Valkey nodes by setting a maximum memory usage and specifying the eviction policy in both configuration templates and cluster setup scripts.

Memory management improvements:

  • Set maxmemory 1gb in valkey-primary.conf.j2, valkey-replica.conf.j2, and sentinel.conf.j2 to restrict Valkey nodes to use a maximum of 1GB RAM. [1] [2] [3]
  • Add maxmemory-policy allkeys-lru and maxmemory 1gb to the configuration for both primary and replica nodes in the cluster setup file valkey-cluster.yml, ensuring consistent eviction policy and memory limit across all nodes. [1] [2]

@travagliad travagliad merged commit 1c8167a into v3 Nov 3, 2025
11 of 12 checks passed
@travagliad travagliad deleted the PMM-7-fix-valkey-memory branch November 3, 2025 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants