feat: Add custom CRI-O storage paths with automatic bind mount#21903
feat: Add custom CRI-O storage paths with automatic bind mount#21903vtri950 wants to merge 1 commit intokubernetes:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vtri950 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
|
Welcome @vtri950! |
|
Hi @vtri950. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Can one of the admins verify this patch? |
|
@medyagh absolutely! it starts with this podman-desktop/podman-desktop#2866 so @benoitf and @afbjorklund came up with soln using minikube to do that but this required to run the cluster on kicbase image and to avoid that they openend this issue and my pr fixes that i have tested it on my wsl(ubuntu) for podman with rootless and in windows with a podman vm(rootful) and it works as expected you can build your images with podman and directly run your container inside minikubbe cluster without having that extra manual load step |
|
/cc @afbjorklund |
There was a blog post about it at the time, but just like the minikube preloads it increases the coupling... https://podman-desktop.io/blog/sharing-podman-images-with-kubernetes-cluster I know it speeds things up, especially with large images, but using the cache or save/load is much easier. The flags look harmless enough though, since by default they don't do anything. |
|
I don't remember why it was better to configure the runtime, versus just mounting a docker volume over it. Maybe there were some clues in #17415 |
|
@vtri950: GitHub didn't allow me to request PR reviews from the following users: benoitf. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Add support for custom CRI-O storage paths with automatic bind mounts
Implements automatic sharing of Podman host images with CRI-O in minikube
by allowing users to specify custom storage paths that are automatically
bind-mounted into the container.
This enhancement adds two new flags:
When these flags are used with KIC drivers (Podman/Docker) and CRI-O runtime,
the specified directories are automatically:
This eliminates the need for manual kicbase modifications or image loading
when using Podman as the driver with CRI-O runtime.
Fixes #17415