k3s/pkg/scheduler/schedulercache
Kubernetes Submit Queue 2d864f2359
Merge pull request #60953 from anfernee/sched-cache-resync
Automatic merge from submit-queue (batch tested with PRs 60919, 60953, 61085, 61083, 60971). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Sched cache resync

**What this PR does / why we need it**:  Scheduler cache comparer
    
    A debug tool that collects resources from api server and compares it
    with the scheduler cache. It currently only compares the node list, but
    it should be easy to extend. The compare is triggered by signal USER2,
    by doing
    
      kill -12 ${SCHED_PID}
    
    The compare result goes to scheduler log.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Towards #60860

**Special notes for your reviewer**: @bsalamat 

**Release note**:
```release-note
None
```
2018-03-20 20:34:28 -07:00
..
BUILD Use pod UID as cache key instead of namespace/name 2018-03-13 10:25:37 -07:00
cache.go Pod comparer should count pods in scheduling queue 2018-03-14 10:29:42 -07:00
cache_test.go Merge pull request #60953 from anfernee/sched-cache-resync 2018-03-20 20:34:28 -07:00
interface.go Support snapshotting a scheduler cache 2018-03-07 16:08:45 -08:00
node_info.go Use pod UID as cache key instead of namespace/name 2018-03-13 10:25:37 -07:00
node_info_test.go Use pod UID as cache key instead of namespace/name 2018-03-13 10:25:37 -07:00
util.go