WIP:prometheus
[demos/kafka/monitoring] / kubernetes / zookeeper-service.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   labels:
5     kafka: zookeeper
6   name: zookeeper
7   namespace: kafka
8 spec:
9   ports:
10     - name: "2181"
11       port: 2181
12       targetPort: 2181
13     - name: "7000"
14       port: 7000
15       targetPort: 7070
16   selector:
17     kafka: zookeeper
18 status:
19   loadBalancer: {}