containerd/pkg
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
..
apparmor Run gofmt 1.19 2022-08-04 18:18:33 -07:00
atomic use containerd/project header test 2020-04-22 19:35:37 -05:00
cap replace strings.Split(N) for strings.Cut() or alternatives 2022-11-07 10:02:25 +01:00
cri CRI: Fix no CNI info for pod sandbox on restart 2022-12-20 13:20:27 -08:00
dialer feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
epoch epoch: propagate SOURCE_DATE_EPOCH via ctx 2022-12-12 09:02:35 +09:00
failpoint Run gofmt 1.19 2022-08-04 18:18:33 -07:00
hasher digest: use github.com/minio/sha256-simd 2022-12-08 18:50:00 +09:00
ioutil Run gofmt 1.19 2022-08-04 18:18:33 -07:00
kmutex CRI: improve image pulling performance 2022-04-06 07:14:18 +08:00
netns clean-up "nolint" comments, remove unused ones 2022-10-12 14:40:59 +02:00
nri nri: add experimental NRI plugin. 2022-11-28 21:51:06 +02:00
oom Use github.com/containerd/cgroups/v3 to remove gogo 2022-11-14 21:07:48 +00:00
os Cleanup build constraints 2022-12-08 09:36:20 -08:00
process Consolidate gogo/protobuf dependencies under our own protobuf package 2022-04-19 15:53:36 +00:00
progress update golangci-lint to v1.49.0 2022-10-12 14:41:01 +02:00
registrar feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
runtimeoptions/v1 Update runtime options to include bytes blob 2022-12-07 10:55:06 -08:00
schedcore add runc shim support for sched core 2021-10-08 16:18:09 +00:00
seccomp Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
seed Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
seutil seutil: Fix setting the "container_kvm_t" label 2021-12-14 00:09:17 +01:00
shutdown Expose Done and Err in Shutdown service 2022-11-16 22:03:44 -08:00
stdio Add logging binary support when terminal is true 2020-08-25 17:28:29 -07:00
streaming Add streaming service 2022-11-30 12:55:56 -08:00
testutil Use testify 2022-04-01 18:17:58 -07:00
timeout feat: use rwmutex instead 2021-11-16 11:06:40 +08:00
transfer Unwrap proto errors in streaming client 2022-12-02 22:30:54 -08:00
truncindex CRI: Move truncindex to pkg 2022-05-26 13:02:45 -07:00
ttrpcutil using ContextDialer instead 2022-07-20 22:53:42 +08:00
unpack Add a thin wrapper around otel Span object 2022-11-11 01:28:27 +00:00
userns Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00