[AMQ Streams] The affinity and tolerations sections from `KafkaConnect.spec.template.buildPod` are not being propagated to the builder pod.

Solution Verified - Updated -

Issue

  • The affinity and tolerations sections from KafkaConnect.spec.template.buildPod are not being propagated to the builder pod.

  • In the Kafka Connect build pod, the affinity and tolerations configurations do not work.

apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaConnect
metadata:
  name: cluster
  annotations:
    strimzi.io/use-connector-resources: "true"
spec:
  template:
    buildPod:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: node-role.kubernetes.io/amqstreams
                operator: Exists
      tolerations:
      - effect: NoExecute
        key: amqstreams
        operator: Equal
        value: reserved

Environment

  • Red Hat AMQ (AMQ Streams) 2.4.0
  • Red Hat OpenShift Container (Openshift) 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content