apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    io.kompose.service: message-queue
  name: message-queue
spec:
  selector:
    matchLabels:
      io.kompose.service: message-queue
  replicas: 1
  template:
    metadata:
      labels:
        io.kompose.service: message-queue
    spec:
      containers:
      - image: rmohr/activemq:5.14.3
        name: message-queue
        ports:
        - containerPort: 8161
        - containerPort: 1883
        - containerPort: 5672
        - containerPort: 61616
        resources:
          requests:
            memory: "200Mi"
            cpu: "250m"
          limits:
            memory: "600Mi"
            cpu: "500m"
      restartPolicy: Always
