Commit 67dcd05
committed
runtime_vm: Cleanup process when the Container is Stopped
When the container finishes its execution a containerd-shim-kata-v2
process is left behind (only when using CRI-O).
The reason for that seems to be CRI-O not doing a cleanup of the process
whenever the container state has changed its state from running to
stopped.
The most reasonable way found to perform such cleanup seems to be taking
advantage of the goroutine used to update the container status and
performing the cleanup there, whenever it's needed.
Related: kata-containers/runtime#2719
Signed-off-by: Fabiano Fidêncio <[email protected]>
(cherry picked from commit 814c1bb)
(cherry picked from commit adb657c)1 parent 0957c45 commit 67dcd05
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
264 | 270 | | |
265 | 271 | | |
266 | 272 | | |
| |||
0 commit comments