apiVersion: v1
kind: Service
metadata:
  name: zookeeper-service
spec:
  selector:
    app: zookeeper
  ports:
    - protocol: TCP
      port: 2181
      targetPort: 2181
    - protocol: TCP
      port: 2888
      targetPort: 2888
    - protocol: TCP
      port: 3888
      targetPort: 3888
    - protocol: TCP
      port: 8080
      targetPort: 8080
