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/07/15 12:03:51 UTC

[GitHub] [airflow] kaxil edited a comment on issue #9812: Kubernetes executor is broken in Airflow 1.10.11

kaxil edited a comment on issue #9812:
URL: https://github.com/apache/airflow/issues/9812#issuecomment-658727551


   So the fix for this might just be:
   
   ```diff
   diff --git a/airflow/kubernetes/pod_generator.py b/airflow/kubernetes/pod_generator.py
   index e46407bd4..db380f271 100644
   --- a/airflow/kubernetes/pod_generator.py
   +++ b/airflow/kubernetes/pod_generator.py
   @@ -371,6 +371,7 @@ class PodGenerator(object):
                    'iam.cloud.google.com/service-account': gcp_service_account_key
                })
   
   +        namespaced['resources'] = resources
            return PodGenerator(**namespaced).gen_pod()
   
        @staticmethod
   ```
   
   WDYT @odracci ?
   
   oh we need to remove the params from `namespaced` too I think


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