Skip to main content
Version: 24.07.01

Allowed configurations

note
  • Redis instances deployed with PDS do not support the CONFIG SET and CONFIG REWRITE operations. This is due to additional encryption requirements, which can cause failures in certain scripts.

    Performing these operations will result in Redis pod(s) crashing. If this occurs, deleting the pod(s) will resolve the issue.

  • Use the parameters specified in the Environment variable column as key-value pairs either during the template configuration or when deploying the data service.

Server configuration

Environment variable

PDS Default value

acllog-max-len

ACLLOG_MAX_LEN

128

activerehashing

ACTIVEREHASHING

yes

always-show-logo

ALWAYS_SHOW_LOGO

yes

aof-load-truncated

AOF_LOAD_TRUNCATED

yes

aof-rewrite-incremental-fsync

AOF_REWRITE_INCREMENTAL_FSYNC

yes

aof-timestamp-enabled

AOF_TIMESTAMP_ENABLED

no

aof-use-rdb-preamble

AOF_USE_RDB_PREAMBLE

yes

appenddirname

APPENDDIRNAME

"appendonlydir"

appendfilename

APPENDFILENAME

"appendonly.aof"

appendfsync

APPENDFSYNC

everysec

appendonly

APPENDONLY

no

auto-aof-rewrite-min-size

AUTO_AOF_REWRITE_MIN_SIZE

64mb

auto-aof-rewrite-percentage

AUTO_AOF_REWRITE_PERCENTAGE

100

client-output-buffer-limit

CLIENT_OUTPUT_BUFFER_LIMIT_NORMAL

"normal 0 0 0"

client-output-buffer-limit

CLIENT_OUTPUT_BUFFER_LIMIT_PUBSUB

"slave 256mb 64mb 60"

client-output-buffer-limit

CLIENT_OUTPUT_BUFFER_LIMIT_REPLICA

"pubsub 32mb 8mb 60"

cluster-allow-pubsubshard-when-down

CLUSTER_ALLOW_PUBSUBSHARD_WHEN_DOWN

yes

cluster-allow-reads-when-down

CLUSTER_ALLOW_READS_WHEN_DOWN

no

cluster-allow-replica-migration

CLUSTER_ALLOW_REPLICA_MIGRATION

yes

cluster-link-sendbuf-limit

CLUSTER_LINK_SENDBUF_LIMIT

0

cluster-migration-barrier

CLUSTER_MIGRATION_BARRIER

1

cluster-node-timeout

CLUSTER_NODE_TIMEOUT

15000

cluster-replica-validity-factor

CLUSTER_REPLICA_VALIDITY_FACTOR

10

cluster-require-full-coverage

CLUSTER_REQUIRE_FULL_COVERAGE

yes

databases

DATABASES

16

dbfilename

DBFILENAME

dump.rdb

dynamic-hz

DYNAMIC_HZ

yes

hash-max-listpack-entries

HASH_MAX_ZIPLIST_ENTRIES

512

hash-max-listpack-value

HASH_MAX_ZIPLIST_VALUE

64

hll-sparse-max-bytes

HLL_SPARSE_MAX_BYTES

3000

hz

HZ

10

jemalloc-bg-thread

JEMALLOC_BG_THREAD

yes

latency-monitor-threshold

LATENCY_MONITOR_THRESHOLD

0

lazyfree-lazy-eviction

LAZYFREE_LAZY_EVICTION

no

lazyfree-lazy-expire

LAZYFREE_LAZY_EXPIRE

no

lazyfree-lazy-server-del

LAZYFREE_LAZY_SERVER_DEL

no

lazyfree-lazy-user-del

LAZYFREE_LAZY_USER_DEL

no

lazyfree-lazy-user-flush

LAZYFREE_LAZY_USER_FLUSH

no

list-compress-depth

LIST_COMPRESS_DEPTH

0

list-max-listpack-size

LIST_MAX_ZIPLIST_SIZE

2

loglevel

LOGLEVEL

notice

lua-time-limit

LUA_TIME_LIMIT

5000

no-appendfsync-on-rewrite

NO_APPENDFSYNC_ON_REWRITE

no

notify-keyspace-events

NOTIFY_KEYSPACE_EVENTS

protected-mode

PROTECTED_MODE

yes

rdbchecksum

RDBCHECKSUM

yes

rdbcompression

RDBCOMPRESSION

yes

rdb-save-incremental-fsync

RDB_SAVE_INCREMENTAL_FSYNC

yes

repl-disable-tcp-nodelay

REPL_DISABLE_TCP_NODELAY

no

repl-diskless-load

REPL_DISKLESS_LOAD

disabled

repl-diskless-sync

REPL_DISKLESS_SYNC

no

repl-diskless-sync-delay

REPL_DISKLESS_SYNC_DELAY

5

repl-diskless-sync-max-replicas

REPL_DISKLESS_SYNC_MAX_REPLICAS

0

replica-lazy-flush

REPLICA_LAZY_FLUSH

no

replica-priority

REPLICA_PRIORITY

100

replica-read-only

REPLICA_READ_ONLY

yes

replica-serve-stale-data

REPLICA_SERVE_STALE_DATA

yes

save

SAVE_1

"900 1"

save

SAVE_10

"300 10"

save

SAVE_10000

"60 10000"

set-max-intset-entries

SET_MAX_INTSET_ENTRIES

512

slowlog-log-slower-than

SLOWLOG_LOG_SLOWER_THAN

10000

slowlog-max-len

SLOWLOG_MAX_LEN

128

stop-writes-on-bgsave-error

STOP_WRITES_ON_BGSAVE_ERROR

yes

stream-node-max-bytes

STREAM_NODE_MAX_BYTES

4096

stream-node-max-entries

STREAM_NODE_MAX_ENTRIES

100

tcp-backlog

TCP_BACKLOG

511

tcp-keepalive

TCP_KEEPALIVE

300

timeout

TIMEOUT

0

zset-max-listpack-entries

ZSET_MAX_ZIPLIST_ENTRIES

128

zset-max-listpack-value

ZSET_MAX_ZIPLIST_VALUE

64

Was this page helpful?