https://github.com/kubernetes/kubernetes/pull/74737 introduced a new in-memory map for the dockershim, that could potentially (in pathological cases) cause memory leaks - for containers that use GMSA cred specs, get created successfully, but then never get started nor removed. This patch addresses this issue by making container removal fail altogether when platform-specific clean ups fail: this allows clean ups to be retried later, when the kubelet attempts to remove the container again. Resolves issue https://github.com/kubernetes/kubernetes/issues/74843. Signed-off-by: Jean Rouge <rougej+github@gmail.com>
1.9 KiB
1.9 KiB