potiuk commented on issue #59563:
URL: https://github.com/apache/airflow/issues/59563#issuecomment-3666559534

   100% with @kosteev -> I think this parameter was deprecated by mistake and 
deprecation should be reverted.
   
   
   This is the places where it is used:
   
   ```python
           if self.kube_config.multi_namespace_mode:
               if self.kube_config.multi_namespace_mode_namespace_list:
                   namespaces = 
self.kube_config.multi_namespace_mode_namespace_list
               else:
                   namespaces = [None]
           else:
               namespaces = [self.kube_config.kube_namespace]
   ```
   
   and:
   
   ```python
   class AirflowKubernetesScheduler(LoggingMixin):
       """Airflow Scheduler for Kubernetes."""
   
       def __init__(
           self,
           kube_config: Any,
           result_queue: Queue[KubernetesResults],
           kube_client: client.CoreV1Api,
           scheduler_job_id: str,
       ):
           super().__init__()
           self.log.debug("Creating Kubernetes executor")
           self.kube_config = kube_config
           self.result_queue = result_queue
           self.namespace = self.kube_config.kube_namespace
           self.log.debug("Kubernetes using namespace %s", self.namespace)
           self.kube_client = kube_client
           self._manager = multiprocessing.Manager()
           self.watcher_queue = self._manager.Queue()
           self.scheduler_job_id = scheduler_job_id
           self.kube_watchers = self._make_kube_watchers()
   ```
   
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to