Skip to content

Commit cb6f1ae

Browse files
committed
Fixes regression with scale-1/dev-small from #311, use zoo not pzoo
so that it matches the zookeeper.connect property that is actual pods now
1 parent ac3b71e commit cb6f1ae

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

variants/scale-1/zookeeper.yaml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,26 @@ metadata:
1111
name: pzoo
1212
namespace: kafka
1313
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
2915
---
3016
apiVersion: apps/v1
3117
kind: StatefulSet
3218
metadata:
3319
name: zoo
3420
namespace: kafka
3521
spec:
36-
replicas: 0
22+
replicas: 1
3723
template:
3824
spec:
3925
initContainers:
4026
- name: init-config
4127
env:
42-
# There's no validation on these numbers adding up to a coherent zk config, so watch out
4328
- name: PZOO_REPLICAS
44-
value: '1'
29+
value: '0'
4530
- name: REPLICAS
4631
value: '1'
4732
- name: ID_OFFSET
48-
value: '2'
33+
value: '1'
4934
containers:
5035
- name: zookeeper
5136
env:

0 commit comments

Comments
 (0)