Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-17341

nodeAffinity and toleration are not set in an integration pod

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • fuse-7.10-GA
    • fuse-7.10-GA
    • Fuse Online
    • None

    Description

      nodeAffinity and toleration are not set in an integration pod even though the CR contains

      spec:
        integrationScheduling:
          tolerations:
          ...
      

      or

      spec:
        integrationScheduling:
          affinity:
            nodeAffinity:
            ...
      


      It works for infra component. When I set in CR

      
      spec:
        infraScheduling:
          tolerations:
            - key: node.kubernetes.io/network-unavailable
              value: "False"
              operator: Equal
              effect: PreferNoSchedule
      
      spec:
        infraScheduling:
          affinity:
            nodeAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
                nodeSelectorTerms:
                  - matchExpressions:
                      - key: kubernetes.io/hostname
                        operator: In
                        values:
                          - REPLACE_NODE
      

      all infra pods contain

      spec:
        toleration:
            ...
      

      or

      spec:
        affinity:
          nodeAffinity:
      ...
      

      It works on FO 7.9GA for integration as well.

      Attachments

        Activity

          People

            parichar@redhat.com Paul Richardson
            mkralik@redhat.com Matej Kralik
            Matej Kralik Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: