Affinities and tolerations sidecar override in DAG #642
Unanswered
marekargalas
asked this question in
Questions & Answers
Replies: 1 comment 3 replies
-
@marekargalas I think you may be confusing the Here is a brief overview of the difference:
The way to override tolerations (or any other Pod attribute) is different:
If you plan to use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I use
kubernetesPodTemplate
invalues.yaml
to setaffinity
andtolerations
for node. With this all DAGs/KubernetesPodOperator
use this setting for scheduling k8s pods (spinning/base container/sidecar and actual pod for job).However I would like to use different
affinity
andtolerations
per DAG - which could be done byV1Affinity
andV1Toleration
but it's not propagated to base container andKubernetesPodOperator
is using two different kubernetes nodes. Any idea how to set it up for base container in the DAGs? I foundinit_containers
but I can adjust sidecar as well.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions