File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Service
3
+ metadata :
4
+ name : rest
5
+ namespace : kafka
6
+ spec :
7
+ ports :
8
+ - port : 80
9
+ selector :
10
+ app : kafka-rest
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1beta1
2
+ kind : Deployment
3
+ metadata :
4
+ name : rest
5
+ namespace : kafka
6
+ spec :
7
+ replicas : 1
8
+ template :
9
+ metadata :
10
+ labels :
11
+ app : kafka-rest
12
+ spec :
13
+ containers :
14
+ - name : cp-kafka-rest
15
+ image : confluentinc/cp-kafka-rest@sha256:aa213c1a67eae6ce9836b52a9b5ecee4d6a0b44f2b9cc69f4e4de85131462f1d
16
+ env :
17
+ - name : KAFKA_REST_ZOOKEEPER_CONNECT
18
+ value : zookeeper:2181
19
+ - name : KAFKA_REST_HOST_NAME
20
+ value : rest
21
+ - name : KAFKA_REST_LISTENERS
22
+ value : http://0.0.0.0:80
23
+ - name : KAFKA_REST_SCHEMA_REGISTRY_URL
24
+ value : http://schemas.kafka.svc.cluster.local:80
25
+ ports :
26
+ - containerPort : 80
You can’t perform that action at this time.
0 commit comments