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