github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/redis/config/redis7-config.tpl (about) 1 bind 0.0.0.0 2 port 6379 3 tcp-backlog 511 4 timeout 0 5 tcp-keepalive 300 6 daemonize no 7 pidfile /var/run/redis_6379.pid 8 {{ block "logsBlock" . }} 9 loglevel notice 10 logfile "/data/running.log" 11 {{ end }} 12 databases 16 13 always-show-logo no 14 set-proc-title yes 15 proc-title-template "{title} {listen-addr} {server-mode}" 16 stop-writes-on-bgsave-error yes 17 rdbcompression yes 18 rdbchecksum yes 19 dbfilename dump.rdb 20 rdb-del-sync-files no 21 dir /data 22 replica-serve-stale-data yes 23 replica-read-only yes 24 repl-diskless-sync yes 25 repl-diskless-sync-delay 5 26 repl-diskless-sync-max-replicas 0 27 repl-diskless-load disabled 28 repl-disable-tcp-nodelay no 29 replica-priority 100 30 acllog-max-len 128 31 lazyfree-lazy-eviction no 32 lazyfree-lazy-expire no 33 lazyfree-lazy-server-del no 34 replica-lazy-flush no 35 lazyfree-lazy-user-del no 36 lazyfree-lazy-user-flush no 37 oom-score-adj no 38 oom-score-adj-values 0 200 800 39 disable-thp yes 40 appendonly yes 41 appendfilename "appendonly.aof" 42 appenddirname "appendonlydir" 43 appendfsync everysec 44 no-appendfsync-on-rewrite no 45 auto-aof-rewrite-percentage 100 46 auto-aof-rewrite-min-size 64mb 47 aof-load-truncated yes 48 aof-use-rdb-preamble yes 49 aof-timestamp-enabled no 50 slowlog-log-slower-than 10000 51 slowlog-max-len 128 52 latency-monitor-threshold 0 53 notify-keyspace-events "" 54 hash-max-listpack-entries 512 55 hash-max-listpack-value 64 56 list-max-listpack-size -2 57 list-compress-depth 0 58 set-max-intset-entries 512 59 zset-max-listpack-entries 128 60 zset-max-listpack-value 64 61 hll-sparse-max-bytes 3000 62 stream-node-max-bytes 4096 63 stream-node-max-entries 100 64 activerehashing yes 65 client-output-buffer-limit normal 0 0 0 66 client-output-buffer-limit replica 256mb 64mb 60 67 client-output-buffer-limit pubsub 32mb 8mb 60 68 hz 10 69 dynamic-hz yes 70 aof-rewrite-incremental-fsync yes 71 rdb-save-incremental-fsync yes 72 jemalloc-bg-thread yes 73 enable-debug-command yes 74 aclfile /etc/redis/users.acl 75 76 # maxmemory <bytes> 77 {{- $request_memory := getContainerRequestMemory ( index $.podSpec.containers 0 ) }} 78 {{- if gt $request_memory 0 }} 79 maxmemory {{ $request_memory }} 80 {{- end -}}