-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenketo-redis-main-configmap.yaml
70 lines (46 loc) · 1.28 KB
/
enketo-redis-main-configmap.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
apiVersion: v1
kind: ConfigMap
metadata:
name: enketo-redis-main-configmap
data:
redis.conf: |
# Redis configuration for Enketo's main database instance
#supervised systemd
#daemonize yes
#pidfile /var/run/redis-enketo-cache/redis-server.pid
port 6379
bind 0.0.0.0
timeout 0
tcp-keepalive 0
loglevel notice
#logfile /var/log/redis/redis-enketo-main.log
databases 16
save 300 1
stop-writes-on-bgsave-error yes
rdbcompression yes
rdbchecksum yes
dbfilename enketo-main.rdb
#dir /var/lib/redis/
slave-serve-stale-data yes
slave-read-only yes
repl-disable-tcp-nodelay no
slave-priority 100
appendonly no
lua-time-limit 5000
slowlog-log-slower-than 10000
slowlog-max-len 128
notify-keyspace-events ""
hash-max-ziplist-entries 512
hash-max-ziplist-value 64
list-max-ziplist-entries 512
list-max-ziplist-value 64
set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
activerehashing yes
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit slave 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
aof-rewrite-incremental-fsync yes
#include /etc/redis/conf.d/local.conf