kind: Service
metadata:
labels:
kind: Service
metadata:
labels:
name: kafka-1
namespace: kafka
spec:
ports:
name: kafka-1
namespace: kafka
spec:
ports:
- - name: "9081"
- port: 9081
- targetPort: 9081
- - name: "7001"
- port: 7001
+ - name: "9092"
+ port: 9092
+ targetPort: 9092
+ - name: "7000"
+ port: 7000
targetPort: 7000
selector:
kafka: kafka-1
targetPort: 7000
selector:
kafka: kafka-1