ashb commented on a change in pull request #4859: [AIRFLOW-3917] Added config to support running scheduler(with kuberne… URL: https://github.com/apache/airflow/pull/4859#discussion_r265034226
########## File path: airflow/config_templates/default_airflow.cfg ########## @@ -703,6 +703,11 @@ gcp_service_account_keys = # It will raise an exception if called from a process not running in a kubernetes environment. in_cluster = True +# Use the cluster_context or config_file to run outside of cluster +cluster_context = +config_file = Review comment: They aren't though - they are optional. If they aren't provided then the Python Kube library will look at the default config file and use the currently selected context. We should mirror that behaviour. ---------------------------------------------------------------- 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] With regards, Apache Git Services
