File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -11,41 +11,26 @@ metadata:
11
11
name : pzoo
12
12
namespace : kafka
13
13
spec :
14
- replicas : 1
15
- template :
16
- spec :
17
- initContainers :
18
- - name : init-config
19
- env :
20
- - name : PZOO_REPLICAS
21
- value : ' 1'
22
- - name : REPLICAS
23
- value : ' 1'
24
- containers :
25
- - name : zookeeper
26
- env :
27
- - name : REPLICAS
28
- value : ' 1'
14
+ replicas : 0
29
15
---
30
16
apiVersion : apps/v1
31
17
kind : StatefulSet
32
18
metadata :
33
19
name : zoo
34
20
namespace : kafka
35
21
spec :
36
- replicas : 0
22
+ replicas : 1
37
23
template :
38
24
spec :
39
25
initContainers :
40
26
- name : init-config
41
27
env :
42
- # There's no validation on these numbers adding up to a coherent zk config, so watch out
43
28
- name : PZOO_REPLICAS
44
- value : ' 1 '
29
+ value : ' 0 '
45
30
- name : REPLICAS
46
31
value : ' 1'
47
32
- name : ID_OFFSET
48
- value : ' 2 '
33
+ value : ' 1 '
49
34
containers :
50
35
- name : zookeeper
51
36
env :
You can’t perform that action at this time.
0 commit comments