-
Notifications
You must be signed in to change notification settings - Fork 15
/
standard.yaml
58 lines (58 loc) · 1.38 KB
/
standard.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
apiVersion: kvrocks.apache.org/v1alpha1
kind: KVRocks
metadata:
name: kvrocks-standard-1-demo
namespace: kvrocks
labels:
kvrocks/monitored-by: sentinel-1
spec:
image: apache/kvrocks
imagePullPolicy: IfNotPresent
master: 1
replicas: 3
type: standard
password: "123456"
kvrocksConfig:
bind: "0.0.0.0"
port: "6379"
timeout: "0" # 客户端空闲 N 秒后关闭连接 (0 禁用)
workers: "8"
daemonize: "no"
maxclients: "10000"
db-name: "change.me.db"
slave-read-only: "yes"
slave-priority: "100"
tcp-backlog: "512"
slave-serve-stale-data: "yes"
slave-empty-db-before-fullsync: "no"
purge-backup-on-fullsync: "no"
max-io-mb: "500"
max-db-size: "0"
max-backup-to-keep: "1"
max-backup-keep-hours: "24"
slowlog-log-slower-than: "200000"
profiling-sample-ratio: "0"
profiling-sample-record-max-len: "256"
profiling-sample-record-threshold-ms: "100"
supervised: "no"
auto-resize-block-and-sst: "yes"
rocksdb.compression: "no"
rocksdb.wal_ttl_seconds: "0"
rocksdb.wal_size_limit_mb: "0"
# storage:
# size: 32Gi
# class: local-hostpath
toleration:
- key: kvrocks
effect: NoSchedule
operator: Exists
- key: node
effect: NoSchedule
operator: Exists
resources:
limits:
cpu: 2
memory: 8Gi
requests:
cpu: 1
memory: 4Gi