apiVersion: apps/v1
kind: Deployment
metadata:
  name: stream-queue
  namespace: kubemq
spec:
  replicas: 1
  selector:
    matchLabels:
      app: stream-queue
  template:
    metadata:
      labels:
        app: stream-queue
    spec:
      containers:
        - name: stream-queue
          image: docker.io/kubemq/stream-queue:latest
          imagePullPolicy: Always
          env:
            - name: ADDRESS
              value: "kubemq-cluster-grpc"
            - name: SEND
              value: "3000"
            - name: THREADS
              value: "150"
            - name: QUEUE
              value: "f"
            - name: ROUNDS
              value: "0"
            - name: ACK_DELAY
              value: "0"
            - name: RECEIVERS
              value: "1"
