jedcunningham commented on issue #22684: URL: https://github.com/apache/airflow/issues/22684#issuecomment-1087807901
Spotted the issue. We should apply the "already checked" label regardless of the pod state in `cleanup` (also in the `else`, not just in the `if`): https://github.com/apache/airflow/blob/436c17c655494eff5724df98d1a231ffa2142253/airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py#L407-L409 @MioNok, you can also set `reattach_on_restart` if you want to ensure you get a new pod every time. It's definitely a sane way to approach things: https://github.com/apache/airflow/blob/436c17c655494eff5724df98d1a231ffa2142253/airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py#L101 -- 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]
