Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1562

plugin mode: remove status update completely

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              wilfreds Wilfred Spiegelenburg
              wilfreds Wilfred Spiegelenburg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: