potiuk commented on issue #20538:
URL: https://github.com/apache/airflow/issues/20538#issuecomment-1003546737


   Ah no... I see that workers.afinity and triggerer.affinity are indeed 
different by default as well:
   
   ```
     affinity:
       podAntiAffinity:
         preferredDuringSchedulingIgnoredDuringExecution:
           - weight: 100
             podAffinityTerm:
               labelSelector:
                 matchLabels:
                   component: worker
               topologyKey: "kubernetes.io/hostname"
   ```
   and 
   ```
     affinity:
       podAntiAffinity:
         preferredDuringSchedulingIgnoredDuringExecution:
           - weight: 100
             podAffinityTerm:
               labelSelector:
                 matchLabels:
                   component: triggerer
               topologyKey: "kubernetes.io/hostname"
   ```
   
   But tolerations/nodeSelector are not - and since webserver's affinity is 
also different, I think there is some inconsistency here. Maybe others can shed 
some light on it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to