kubernetes cleanup-pods
CLI command only available when using KubernetesExecutor
#46978
Open
1 of 2 tasks
Apache Airflow version
main (development)
If "Other Airflow 2 version" selected, which one?
No response
What happened?
Currently, the k8s cleanup command is directly tied to the KubernetesExecutor, but the command is helpful for and documented to be used for KubernetesPodOperator users as well.
What you think should happen instead?
The command should work regardless of executor choice, if you have the kubernetes provider installed.
How to reproduce
With LocalExecutor:
With KubernetesExecutor:
Operating System
macos
Versions of Apache Airflow Providers
No response
Deployment
Virtualenv installation
Deployment details
No response
Anything else?
This likely means that providers generally need to be able to add cli commands, not just things in providers (e.g. executors).
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: