Execution control has been applied to the nodes with created pods after pod reconciliation. However, pending and suspended nodes do not have created pods, and taskset nodes use the agent pod. Mark these nodes failed when shutting down or exceeding deadline since pod reconciliation does not take effect on them.
Modification 2
Agent pod will only be created when taskset nodes exist, so do not delete it if it does not exist.
Fixes #12659 Fixes #13060
Motivation
Modifications
Modification 1
Execution control has been applied to the nodes with created pods after pod reconciliation. However, pending and suspended nodes do not have created pods, and taskset nodes use the agent pod. Mark these nodes failed when shutting down or exceeding deadline since pod reconciliation does not take effect on them.
Modification 2
Agent pod will only be created when taskset nodes exist, so do not delete it if it does not exist.
Modification 3
Skip execution control for exit nodes.
Verification