-
Notifications
You must be signed in to change notification settings - Fork 16.1k
Description
Apache Airflow Provider(s)
cncf-kubernetes
Versions of Apache Airflow Providers
In one of the latest cncf-kubernetes provider we emit warning message:
"""
/opt/python3.11/lib/python3.11/site-packages/airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py:155 AirflowProviderDeprecationWarning: Configuration 'namespace' is deprecated. Use 'pod_template_file' to specify the namespace instead.
"""
airflow/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/kube_config.py
Line 85 in 875a427
| "Configuration 'namespace' is deprecated. " |
However it is still needed/used in kubernetex_executor_utils.py:
https://github.com/apache/airflow/blob/875a427ab3f1cc06bf470a9cebdd27aa8d9528a5/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py#L523C53-L523C67
So, this property is actually needed and shouldn't be deprecated?
Apache Airflow version
3.1.0
Operating System
Linux
Deployment
Google Cloud Composer
Deployment details
No response
What happened
No response
What you think should happen instead
No response
How to reproduce
Use latest cncf-kubernetes provider and run Airflow with KubernetesExecutor
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct