-
Notifications
You must be signed in to change notification settings - Fork 1
/
values.yaml
executable file
·71 lines (63 loc) · 1.49 KB
/
values.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
71
# Default values for zookeeper.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# https://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html
heap: 512M
storage: 10Gi
tickTime: 2000
initLimit: 1
syncLimit: 5
maxClientCnxns: 60
snapRetainCount: 3
purgeInterval: 12
maxSessionTimeout: 40000
minSessionTimeout: 4000
logLevel: INFO
clientPort: 2181
serverPort: 2888
leadElectionPort: 3888
user: 1000
group: 1000
image: "k8s.gcr.io/kubernetes-zookeeper:1.0-3.4.10"
imagePullPolicy: IfNotPresent
size: 3
# If set to `enabled` restricts network access to server and election ports of each node by nodes
# of the same Zookeeper cluster. `NetworkPolicy` should be enabled on a Kubernetes cluster
networkPolicy: disabled
resources:
requests:
memory: 1Gi
cpu: 0.5
limits:
memory: 2Gi
cpu: 1
livenessProbe:
exec:
command:
- sh
- -c
- "zookeeper-ready $CLIENTPORT"
enabled: true
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 1
readinessProbe:
exec:
command:
- sh
- -c
- "zookeeper-ready $CLIENTPORT"
enabled: true
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 1
# https://kubernetes.io/docs/tasks/run-application/configure-pdb/
podDisruptionBudget:
maxUnavailable: 1
# https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
updateStrategy:
type: RollingUpdate