You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/06/18 11:41:48 UTC

[GitHub] [airflow] KIRY4 opened a new issue #9374: AIRFLOW__KUBERNETES__AFFINITY AIRFLOW__KUBERNETES__TOLERATIONS how to use?

KIRY4 opened a new issue #9374:
URL: https://github.com/apache/airflow/issues/9374


   Hello Everyone! I need some help with KubernetesExecutor. Anybody knows how exactly use these two values AIRFLOW__KUBERNETES__AFFINITY AIRFLOW__KUBERNETES__TOLERATIONS. Link from documentation is broken: https://airflow.apache.org/docs/stable/configurations-ref.html. So can anybody share with me examples of usage of this parmaters??


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] KIRY4 commented on issue #9374: AIRFLOW__KUBERNETES__AFFINITY AIRFLOW__KUBERNETES__TOLERATIONS how to use?

Posted by GitBox <gi...@apache.org>.
KIRY4 commented on issue #9374:
URL: https://github.com/apache/airflow/issues/9374#issuecomment-649149025


   Example of usage:
   ```
   apiVersion: v1
   kind: ConfigMap
   metadata:
     name: airflow-cm
     namespace: airflow
   data:
     k8spodstolerations: '[{ "key": "type", "operator": "Equal", "value": "tool", "effect": "NoSchedule" }]'
     k8spodsaffinity: '{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"type","operator":"In","values":["tool"]}]}]}}}'
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] KIRY4 closed issue #9374: AIRFLOW__KUBERNETES__AFFINITY AIRFLOW__KUBERNETES__TOLERATIONS how to use?

Posted by GitBox <gi...@apache.org>.
KIRY4 closed issue #9374:
URL: https://github.com/apache/airflow/issues/9374


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #9374: AIRFLOW__KUBERNETES__AFFINITY AIRFLOW__KUBERNETES__TOLERATIONS how to use?

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #9374:
URL: https://github.com/apache/airflow/issues/9374#issuecomment-645962282


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] KIRY4 edited a comment on issue #9374: AIRFLOW__KUBERNETES__AFFINITY AIRFLOW__KUBERNETES__TOLERATIONS how to use?

Posted by GitBox <gi...@apache.org>.
KIRY4 edited a comment on issue #9374:
URL: https://github.com/apache/airflow/issues/9374#issuecomment-649149025


   Example of usage:
   ```
   apiVersion: v1
   kind: ConfigMap
   metadata:
     name: airflow-cm
     namespace: airflow
   data:
     k8spodstolerations: '[{ "key": "type", "operator": "Equal", "value": "tool", "effect": "NoSchedule" }]'
     k8spodsaffinity: '{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"type","operator":"In","values":["tool"]}]}]}}}'
   ```
   
   In values.yaml:
   ```
     extraEnv:
       - name: AIRFLOW__KUBERNETES__TOLERATIONS
         valueFrom:
           configMapKeyRef:
             name: airflow-cm
             key: k8spodstolerations
       - name: AIRFLOW__KUBERNETES__AFFINITY
         valueFrom:
           configMapKeyRef:
             name: airflow-cm
             key: k8spodsaffinity
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org