Skip to content

AIP-72: Port over executor_config for K8sExecutor when using task sdk#46926

Merged
amoghrajesh merged 9 commits into
apache:mainfrom
astronomer:AIP72-K8sExecutor-executor_config
Feb 24, 2025
Merged

AIP-72: Port over executor_config for K8sExecutor when using task sdk#46926
amoghrajesh merged 9 commits into
apache:mainfrom
astronomer:AIP72-K8sExecutor-executor_config

Conversation

@amoghrajesh

@amoghrajesh amoghrajesh commented Feb 20, 2025

Copy link
Copy Markdown
Contributor

closes: #46949

This PR intends to complete the porting of KE to use task sdk as was done in #46860.

When we are sending the ExecuteWorkload payload to the KE pod, we do not need to send the executor_config in it. That is irrelevant to supervise function and is only using while creating the pod spec, like here: https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/pod_generator.py#L311-L316


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg Bot added area:Executors-core LocalExecutor & SequentialExecutor area:task-sdk provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Feb 20, 2025
@amoghrajesh

Copy link
Copy Markdown
Contributor Author

Created the PR so that the K8s system test can run.

Will update the desc etc

@amoghrajesh amoghrajesh reopened this Feb 20, 2025
Comment thread airflow/example_dags/example_kubernetes_executor.py
Comment thread kubernetes_tests/test_kubernetes_executor.py
@amoghrajesh

Copy link
Copy Markdown
Contributor Author

The failures arent related to the PR

@amoghrajesh amoghrajesh self-assigned this Feb 24, 2025
@amoghrajesh amoghrajesh merged commit 961e33d into apache:main Feb 24, 2025
@amoghrajesh amoghrajesh deleted the AIP72-K8sExecutor-executor_config branch February 24, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Executors-core LocalExecutor & SequentialExecutor area:task-sdk provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port over executor_config for K8sExecutor using task sdk

2 participants