aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--72rest-service-external.yml11
-rw-r--r--ui/manager-service.yml10
-rw-r--r--ui/manager.yml21
-rw-r--r--ui/topics-ui-service.yml11
4 files changed, 53 insertions, 0 deletions
diff --git a/72rest-service-external.yml b/72rest-service-external.yml
new file mode 100644
index 0000000..94cb172
--- /dev/null
+++ b/72rest-service-external.yml
@@ -0,0 +1,11 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: external-rest
+ namespace: kafka
+spec:
+ type: NodePort
+ ports:
+ - port: 80
+ selector:
+ app: kafka-rest
diff --git a/ui/manager-service.yml b/ui/manager-service.yml
new file mode 100644
index 0000000..a3ffda6
--- /dev/null
+++ b/ui/manager-service.yml
@@ -0,0 +1,10 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: rest
+ namespace: kafka
+spec:
+ ports:
+ - port: 80
+ selector:
+ app: kafka-rest
diff --git a/ui/manager.yml b/ui/manager.yml
new file mode 100644
index 0000000..1c8711b
--- /dev/null
+++ b/ui/manager.yml
@@ -0,0 +1,21 @@
+apiVersion: apps/v1beta1
+kind: Deployment
+metadata:
+ name: manager
+ namespace: kafka
+spec:
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ app: kafka-manager
+ spec:
+ containers:
+ - name: kafka-manager
+ image: solsson/kafka-manager
+ imagePullPolicy: Never
+ env:
+ - name: ZK_HOSTS
+ value: zookeeper:2181
+ ports:
+ - containerPort: 8080
diff --git a/ui/topics-ui-service.yml b/ui/topics-ui-service.yml
new file mode 100644
index 0000000..07300f5
--- /dev/null
+++ b/ui/topics-ui-service.yml
@@ -0,0 +1,11 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: topics-ui
+ namespace: kafka
+spec:
+ ports:
+ - port: 80
+ targetPort: 8000
+ selector:
+ app: topics-ui