apiVersion: v1
kind: Service
metadata:
  name: rats-rabbitmq
  labels:
    app: rats
spec:
  selector:
    app: rats
    service: rabbitmq
  ports:
  - name: 4369-tcp
    port: 4369
    protocol: TCP
    targetPort: 4369
  - name: 5671-tcp
    port: 5671
    protocol: TCP
    targetPort: 5671
  - name: 5672-tcp
    port: 5672
    protocol: TCP
    targetPort: 5672
  - name: 25672-tcp
    port: 25672
    protocol: TCP
    targetPort: 25672
  type: ClusterIP
