Skip to content

Commit

Permalink
Merge pull request #83 from Yolean/yahoo-kafka-manager
Browse files Browse the repository at this point in the history
Adds yahoo/kafka-manger
  • Loading branch information
solsson authored Nov 9, 2017
2 parents 4ec96b5 + 30b2f40 commit 2e90c7e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
12 changes: 12 additions & 0 deletions yahoo-kafka-manager/kafka-manager-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
kind: Service
apiVersion: v1
metadata:
name: kafka-manager
namespace: kafka
spec:
selector:
app: kafka-manager
ports:
- protocol: TCP
port: 80
targetPort: 80
26 changes: 26 additions & 0 deletions yahoo-kafka-manager/kafka-manager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: kafka-manager
namespace: kafka
spec:
replicas: 1
selector:
matchLabels:
app: kafka-manager
template:
metadata:
labels:
app: kafka-manager
spec:
containers:
- name: kafka-manager
image: solsson/kafka-manager@sha256:e07b5c50b02c761b3471ebb62ede88afc0625e325fe428316e32fec7f227ff9b
ports:
- containerPort: 80
env:
- name: ZK_HOSTS
value: zookeeper.kafka:2181
command:
- ./bin/kafka-manager
- -Dhttp.port=80

0 comments on commit 2e90c7e

Please sign in to comment.