Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
The k8shim in plugin mode only updates the pod status to move the pod from the unschedulablePods structure to the activeQ. This caused an issue in the way we did it before YUNIKORN-1547 as we could leave a pod in a custom state that K8s does not know.
After YUNIKORN-1547 we used the pending state. There could still be cases that the state set by the plugin showed up and not the state that the pod was really in. A pod could be fully scheduled and running while still showing pending as set by the plugin.
The state change was added to the plugin code based on an incorrect assumption that it would trigger a move between the unschedulablePods and activeQ. However the scheduler explicitly excluded pod status when checking for updates. We should thus not set the status of the pod to limit side effects and impact.
Attachments
Issue Links
- is related to
-
YUNIKORN-1547 Plugin mode shouldn't use nonstandard QuotaApproved status
- Closed
- links to