Commit 5a7f60d
committed
server: preserve extended resources on shutdown for sandbox persistence
When CAA shuts down (e.g., pod restart during rolling update),
RemoveExtendedResources() removes the kata.peerpods.io/vm capacity
from the node. This causes the kubelet to consider existing peerpod
pods as unschedulable and evict them, defeating sandbox persistence
across CAA restarts.
Remove the RemoveExtendedResources() call from Shutdown() so that
the node retains its peerpod capacity. The extended resources are
re-advertised on startup via AdvertiseExtendedResources(), making
the removal on shutdown unnecessary.
Signed-off-by: Thejas N <thn@redhat.com>1 parent bf0c548 commit 5a7f60d
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
165 | 163 | | |
166 | 164 | | |
167 | 165 | | |
| |||
0 commit comments