airflow kubernetes cleanup-pods
Clean up Kubernetes pods (created by KubernetesExecutor/KubernetesPodOperator) in evicted/failed/succeeded/pending states
Options
Name | Description |
---|---|
-h, --help | Show this help message and exit |
--min-pending-minutes <min_pending_minutes> | Pending pods created before the time interval are to be cleaned up, measured in minutes. Default value is 30(m). The minimum value is 5(m) |
--namespace <namespace> | Kubernetes Namespace. Default value is `[kubernetes] namespace` in configuration |