apiVersion: v1
kind: Service
metadata:

  name: rmqbroker
  labels:
    app: rmqbroker
spec:
  ports:
    - port: 10909
      targetPort: 10909
      name: slave-master
    - port: 10911
      targetPort: 10911
      name: listen
    - port: 10912
      targetPort: 10912
      name: ha-service
  selector:
    app: rmqbroker