Kristof-Mattei commented on issue #10027: URL: https://github.com/apache/airflow/issues/10027#issuecomment-665196436
@kaxil I managed to get the hook working by putting it in `local_settings.py` in the scheduler. `AIRFLOW__KUBERNETES__AIRFLOW_LOCAL_SETTINGS_CONFIGMAP` defines the configmap that contains the `local_settings.py`, but it is only being used once the pod is launched, as part of the mounted volume, so that's too late, and also in a different context (i.e. the new pod). At that moment the resources have already been set (which is what I'm trying to modify as `AIRFLOW_KUBERNETES_WORKER_RESOURCES` hasn't landed yet. ---------------------------------------------------------------- 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: [email protected]
