ashb commented on a change in pull request #6230: [AIRFLOW-5413] Allow K8S 
worker pod to be configured from JSON/YAML file
URL: https://github.com/apache/airflow/pull/6230#discussion_r356001323
 
 

 ##########
 File path: airflow/executors/kubernetes_executor.py
 ##########
 @@ -372,7 +374,8 @@ def __init__(self,
         self.log.debug("Kubernetes using namespace %s", self.namespace)
         self.kube_client = kube_client
         self.launcher = PodLauncher(kube_client=self.kube_client)
-        self.worker_configuration = 
WorkerConfiguration(kube_config=self.kube_config)
+        # Parse the airflow.cfg once on AirflowKubernetesScheduler 
initialization
 
 Review comment:
   This comment doesn't make sense - airflow.cfg is already only parsed once at 
start-up

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

Reply via email to