containerd/pkg/cri
Danny Canter 3ee6dd5c1b CRI: Fix no CNI info for pod sandbox on restart
Due to when we were updating the pod sandboxes underlying container
object, the pointer to the sandbox would have the right info, but
the on-disk representation of the data was behind. This would cause
the data returned from loading any sandboxes after a restart to have
no CNI result or IP information for the pod.

This change does an additional update to the on-disk container info
right after we invoke the CNI plugin so the metadata for the CNI result
and other networking information is properly flushed to disk.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2022-12-20 13:20:27 -08:00
..
annotations cri: add pod uid annotation 2022-11-19 01:12:02 +01:00
config Cleanup build constraints 2022-12-08 09:36:20 -08:00
constants move up to CRI v1 and support v1alpha in parallel 2021-06-28 09:34:12 -05:00
io Cleanup build constraints 2022-12-08 09:36:20 -08:00
opts cri: fix memory.memsw.limit_in_bytes: no such file or directory 2022-12-19 11:28:07 +09:00
sbserver Remove github.com/gogo/protobuf again 2022-12-15 22:54:15 +00:00
server CRI: Fix no CNI info for pod sandbox on restart 2022-12-20 13:20:27 -08:00
store nil check to avoid panic on upgrade 2022-12-13 16:18:18 -06:00
streaming fatal error: concurrent map iteration and map write 2022-12-13 20:08:23 +08:00
util Remove github.com/gogo/protobuf again 2022-12-15 22:54:15 +00:00
cri.go pkg/cri/server: experimental NRI integration for CRI. 2022-11-28 21:51:08 +02:00