-
Notifications
You must be signed in to change notification settings - Fork 131
Fix GC failure of CRI plugin #1893
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
Conversation
docs/INSTALL.md
Outdated
|
||
``` | ||
|
||
> NOTE: `root` field of `proxy_plugins` requires containerd >= v1.6.32 or v1.7.16 or v2.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this note necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review. I think this is not necessary. I've just removed this note.
README.md
Outdated
|
||
# Use stargz snapshotter through CRI | ||
[plugins."io.containerd.grpc.v1.cri".containerd] | ||
snapshotter = "stargz" | ||
disable_snapshot_annotations = false | ||
``` | ||
|
||
**Note that `disable_snapshot_annotations = false` is required since containerd > v1.4.2** | ||
> NOTE1: `disable_snapshot_annotations = false` is required since containerd > v1.4.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can just drop this note as containerd v1.4 and older releases have already reached EOL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this note.
Signed-off-by: Kohei Tokunaga <[email protected]>
Signed-off-by: Kohei Tokunaga <[email protected]>
Signed-off-by: Kohei Tokunaga <[email protected]>
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.