mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-13 06:02:25 -04:00
Automatic merge from submit-queue. 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>. delete the hostport from usedmap **What this PR does / why we need it**: delete the hostport record when pod is not on the host **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # Facilitate the further pr https://github.com/kubernetes/kubernetes/pull/52421. Because the code which detects the conflict between wantports and existingports is not quite clean now. Besides remove the unused port from map will save the memory. **Special notes for your reviewer**: I and the original coder @k82cn agreed to make this change **Release note**: ```release-note NONE ``` |
||
|---|---|---|
| .. | ||
| algorithm | ||
| algorithmprovider | ||
| api | ||
| core | ||
| factory | ||
| metrics | ||
| schedulercache | ||
| testing | ||
| util | ||
| BUILD | ||
| OWNERS | ||
| scheduler.go | ||
| scheduler_test.go | ||
| testutil.go | ||