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