AutomationDev85 opened a new pull request, #56661:
URL: https://github.com/apache/airflow/pull/56661

   # Overview
   
   We are preparing an update to the KubernetesPodTriggerer workflow to align 
its startup behavior with that of the synchronous workflow. As part of this 
effort, we are introducing this preparation PR:
   
   This PR relocates certain "higher-level" functions from the Hook to the 
PodManager. Currently, the Hook imports functions from the PodManager, but we 
believe the PodManager should instead use the Hook as its abstraction layer to 
the Kubernetes API. To keep this PR focused and manageable, we are only 
retaining self._client in the PodManager.
   
   In subsequent PRs, we plan to unify the code paths so that both the 
Triggerer (async) and synchronous workflows use the same logic to start Pods.
   
   We welcome your feedback on this change.
   
   # Details of change:
   
   * Move functions from Hook code to the PodManager which match the context of 
the PodManager
   * Remove import from PodManager in the Hook code.
   
   


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