apiVersion: apps/v1
kind: Deployment
metadata:
  name: strimzi-kafka-bridge
  labels:
    app: strimzi
spec:
  replicas: 1
  selector:
    matchLabels:
      name: strimzi-kafka-bridge
  template:
    metadata:
      labels:
        name: strimzi-kafka-bridge
    spec:
      containers:
      - name: strimzi-kafka-bridge
        image: strimzi/kafka-bridge:latest
        imagePullPolicy: IfNotPresent
        env:
        - name: KAFKA_BOOTSTRAP_SERVERS
          value: my-cluster-kafka-bootstrap:9092
        - name: AMQP_MODE
          value: SERVER
        - name: AMQP_PORT
          value: "5672"
        ports:
        - containerPort: 5672
          protocol: TCP
          name: amqp
        livenessProbe:
          tcpSocket:
            port: amqp