Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GC failure of CRI plugin #1893

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

ktock
Copy link
Member

@ktock ktock commented Dec 10, 2024

Fix #1349

CRI plugins fails to perform GC because it fails to find root direcotry of stargz snapshotter.
Recent containerd added proxy_plugins.stargz.exports.root field to config.toml for solving this issue so this PR leverages that feature.

Dec 09 01:25:33 testkind-control-plane kubelet[2645]: E1209 01:25:33.155930    2645 kubelet.go:1467] "Image garbage collection failed once. Stats initialization may not have completed yet" err="get filesystem info: Failed to get the info of the filesystem with mountpoint: failed to get device for dir \"/var/lib/containerd/io.containerd.snapshotter.v1.stargz\": stat failed on /var/lib/containerd/io.containerd.snapshotter.v1.stargz with error: no such file or directory"

Signed-off-by: Kohei Tokunaga <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stargz-snapshotter uses up all available disk space
1 participant