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 Jul 26, 2017
1 parent 6f8f6d4 commit e2af525
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion 50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: kafka
spec:
serviceName: "broker"
replicas: 3
replicas: 1
template:
metadata:
labels:
Expand Down
4 changes: 2 additions & 2 deletions test/12topic-create-test2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- --partitions
- "1"
- --replication-factor
- "3"
- "1"
- --config
- min.insync.replicas=2
- min.insync.replicas=1
restartPolicy: Never
6 changes: 1 addition & 5 deletions zookeeper/10zookeeper-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ data:
initLimit=5
syncLimit=2
server.1=pzoo-0.pzoo:2888:3888:participant
server.2=pzoo-1.pzoo:2888:3888:participant
server.3=pzoo-2.pzoo:2888:3888:participant
server.4=zoo-0.zoo:2888:3888:participant
server.5=zoo-1.zoo:2888:3888:participant
log4j.properties: |-
log4j.rootLogger=INFO, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
Expand Down
2 changes: 1 addition & 1 deletion zookeeper/50pzoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: kafka
spec:
serviceName: "pzoo"
replicas: 3
replicas: 1
template:
metadata:
labels:
Expand Down
2 changes: 1 addition & 1 deletion zookeeper/51zoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: kafka
spec:
serviceName: "zoo"
replicas: 2
replicas: 0
template:
metadata:
labels:
Expand Down

0 comments on commit e2af525

Please sign in to comment.