We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e3873f commit 0efda27Copy full SHA for 0efda27
deployment/utils/redis.ts
@@ -108,7 +108,11 @@ export class Redis {
108
// Note: this is needed, otherwise local config is not loaded at all
109
command: ['/opt/bitnami/scripts/redis/entrypoint.sh'],
110
// This is where we can pass actual flags to the bitnami/redis runtime
111
- args: ['/opt/bitnami/scripts/redis/run.sh', `--maxmemory ${memoryInMegabytes}mb`],
+ args: [
112
+ '/opt/bitnami/scripts/redis/run.sh',
113
+ `--maxmemory ${memoryInMegabytes}mb`,
114
+ '--maxmemory-policy volatile-ttl',
115
+ ],
116
readinessProbe: {
117
initialDelaySeconds: 5,
118
periodSeconds: 8,
0 commit comments