Commit b2c7252
feat: Add native topology-aware deletion priority support
Implements native topology awareness in GameServer Controller.
- Adds logic to SyncPodToGs to query pods on the same node
- Calculates priority based on pod density
- Enabled via annotation 'game.kruise.io/topology-aware-deletion'
Fixes #1981 parent 25626ff commit b2c7252
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
304 | 333 | | |
305 | 334 | | |
306 | 335 | | |
| |||
0 commit comments