• Kubernetes Submit Queue's avatar
    Merge pull request #31605 from resouer/eclass-1 · 5509e50d
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    [Part 1] Implementation of equivalence pod
    
    Part 1 of #30844
    
    This PR: 
    
    - Refactored `predicate.go`, so that `GetResourceRequest` can be used in other places to `GetEquivalencePod`.
    - Implement a `equivalence_cache.go` to deal with all information we need to calculate an equivalent pod.
    - Define and register a `RegisterGetEquivalencePodFunction `.
    
    Work in next PR:
    - The update of `equivalence_cache.go`
    - Unit test
    - Integration/e2e test
    
    I think we can begin from the `equivalence_cache.go`? Thanks.  cc @wojtek-t @davidopp 
    
    If I missed any other necessary part, please point it out.
    5509e50d
Name
Last commit
Last update
..
algorithm Loading commit data...
algorithmprovider Loading commit data...
api Loading commit data...
factory Loading commit data...
metrics Loading commit data...
schedulercache Loading commit data...
testing Loading commit data...
OWNERS Loading commit data...
equivalence_cache.go Loading commit data...
extender.go Loading commit data...
extender_test.go Loading commit data...
generic_scheduler.go Loading commit data...
generic_scheduler_test.go Loading commit data...
scheduler.go Loading commit data...
scheduler_test.go Loading commit data...