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

App recovery is skipped when applicationID is not set in pods' label

    XMLWordPrintableJSON

Details

    Description

      There are cases when YK may think that the cluster doesn't have enough resources even though that's not actually the case. This has happened twice to me after running YK in a cluster for a few days and then one day, the nodes endpoint shows that the cluster only has one node (i.e. the node that YK itself is running on), despite that the K8s cluster has 10 nodes in total. And if I try to schedule a workload that requires more resources than available on that node, YK will make pods pending with an event like below:

      Normal PodUnschedulable 41s yunikorn Task <namespace>/<pod> is pending for the requested resources become available

      because it's not aware that other nodes in the cluster has available resources.

      All of this can be fixed by just restarting YK (scaling down the replica to 0 and then back up to 1). So it seems that an issue with cache is causing the issue, although it's not yet clear to me the exact conditions that triggered this bug.

      My environment is on AWS EKS with K8s 1.17, if that matters.

      Attachments

        Issue Links

          Activity

            People

              wwei Weiwei Yang
              yuchaoran2011 Chaoran Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: