Skip to content

Commit

Permalink
Fixes regression with scale-1/dev-small from #311, use zoo not pzoo
Browse files Browse the repository at this point in the history
so that it matches the zookeeper.connect property that is actual pods now
  • Loading branch information
solsson committed Jul 13, 2020
1 parent ac3b71e commit cb6f1ae
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions variants/scale-1/zookeeper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,26 @@ metadata:
name: pzoo
namespace: kafka
spec:
replicas: 1
template:
spec:
initContainers:
- name: init-config
env:
- name: PZOO_REPLICAS
value: '1'
- name: REPLICAS
value: '1'
containers:
- name: zookeeper
env:
- name: REPLICAS
value: '1'
replicas: 0
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: zoo
namespace: kafka
spec:
replicas: 0
replicas: 1
template:
spec:
initContainers:
- name: init-config
env:
# There's no validation on these numbers adding up to a coherent zk config, so watch out
- name: PZOO_REPLICAS
value: '1'
value: '0'
- name: REPLICAS
value: '1'
- name: ID_OFFSET
value: '2'
value: '1'
containers:
- name: zookeeper
env:
Expand Down

0 comments on commit cb6f1ae

Please sign in to comment.