-
Notifications
You must be signed in to change notification settings - Fork 776
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
Installs on ZFS don't use ZFS snapshotter #1378
Comments
This is interesting and look like a good fit for an enable addon as it requires user interaction. Some thoughts/questions:
|
MicroK8s uses the |
@dalbani, this a question for the containerd project. I can only tell you that our decision of going with the "native" snapshotter is based on how less intrusive it is, ie we would not need to create a zfs dataset as described in #401 (comment) |
Having used the zfs snapshotter for the past 2 years I'd like to throw my $0.02 in. DON'T. The current verison of ZFS tools (like the I suspect the snapshotter maybe loosing track of these datasets, as I think 20,000 seems a bit high. I am now running microk8s on a zvol. That's a part of a zfs pool that you can format as any filesystem. The big downside is that it's a fixed size. how to run microk8s on zfs using a zvolThe pool we want to store the microk8s image files and container fs is As root do:
|
Thanks @myers for your feedback. Although running MicroK8s on ZFS, I'll skip the ZFS snapshotter for now. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Unstale. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Currently if microk8s is installed on a ZFS filesystem it will use the "native" containerd snapshotter instead of the "zfs" snapshotter. That allows it to function but is not ideal or efficient. With ZFS gaining support in Ubuntu, including the ability to install root on ZFS in 20.04 it'd be better to detect and handle this properly.
A few thoughts/ideas:
A similar approach could be used for the root storage pool.
Related previous activity:
Issue #401 and PR #1000
The text was updated successfully, but these errors were encountered: