mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-04-22 22:58:08 -04:00
Added podToVolumes reverse index to optimize DeletePod. Currently we simply iterate through all the volumes and remove the pod being deleted from there. This is inefficient and takes longer the longer the volume list becomes. Keeping a map pod -> volumes makes removing a pod fast. We can just jump to the relevant volumes directly and remove the pod from there. |
||
|---|---|---|
| .. | ||
| attachdetach | ||
| common | ||
| ephemeral | ||
| events | ||
| expand | ||
| persistentvolume | ||
| protectionutil | ||
| pvcprotection | ||
| pvprotection | ||
| selinuxwarning | ||
| vacprotection | ||
| OWNERS | ||