1. 07 Aug, 2016 2 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #30141 from sttts/sttts-affinity-logic · eb52d55d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      e2e flake: real fix of PodAntiAffinity test
      
      The fix in PR https://github.com/kubernetes/kubernetes/pull/30135 was wrong in using a wrong test condition for an already broken test.
      
      ### Summary
      
      The test tries to launch a pod with an anti-affinity annotation, waits 10
      seconds and then checks that it is still pending.
      
      But the anti-affinity annotation does not forbid to launch that pod on just
      another node that does not have the zone label at all.
      
      This commit changes this behavior by labeling two nodes with the zone label
      and then forcing the pod to be launched on one of those two nodes.
      
      **I assume here that a non-existing label is considered as a different label value.**
      
        Fixes #30078
      eb52d55d
    • Kubernetes Submit Queue's avatar
      Merge pull request #28104 from ping035627/ping035627-patch-4 · 711b63e7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      SchedulerExtender: add failedPredicateMap in Filter() returns
      
      Fix #25797. modify extender.Filter for adding extenders information to “failedPredicateMap” in findNodesThatFit.
      When all the filtered nodes that passed "predicateFuncs" don’t pass the extenders filter, the failedPredicateMap hasn’t the extenders information, should add it, I think. So when the length of the “filteredNodes.Items” is 0, we can know the integral information. (The length of the “filteredNodes.Items” is 0, may be because the extenders filter failed.)
      711b63e7
  2. 06 Aug, 2016 18 commits
  3. 05 Aug, 2016 20 commits