Skip to content

Commit

Permalink
Minimizes the cluster for use with for example Minikube
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Jan 8, 2018
1 parent 341860a commit dad77d5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion kafka/10broker-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ data:
# the brokers.
num.partitions=1
default.replication.factor=2
default.replication.factor=1
min.insync.replicas=1
Expand Down
2 changes: 1 addition & 1 deletion kafka/50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
matchLabels:
app: kafka
serviceName: "broker"
replicas: 2
replicas: 1
updateStrategy:
type: OnDelete
template:
Expand Down
2 changes: 0 additions & 2 deletions zookeeper/10zookeeper-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ data:
initLimit=5
syncLimit=2
server.1=pzoo-0.pzoo:2888:3888:participant
server.2=pzoo-1.pzoo:2888:3888:participant
server.4=zoo-0.zoo:2888:3888:participant
log4j.properties: |-
log4j.rootLogger=INFO, stdout
Expand Down
2 changes: 1 addition & 1 deletion zookeeper/50pzoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
app: zookeeper
storage: persistent
serviceName: "pzoo"
replicas: 2
replicas: 1
updateStrategy:
type: OnDelete
template:
Expand Down
2 changes: 1 addition & 1 deletion zookeeper/51zoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
app: zookeeper
storage: ephemeral
serviceName: "zoo"
replicas: 1
replicas: 0
updateStrategy:
type: OnDelete
template:
Expand Down

0 comments on commit dad77d5

Please sign in to comment.