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

Support for ReadWriteOncePod #3803

Closed
3deep5me opened this issue Nov 29, 2024 · 2 comments
Closed

Support for ReadWriteOncePod #3803

3deep5me opened this issue Nov 29, 2024 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@3deep5me
Copy link

3deep5me commented Nov 29, 2024

What would you like to be added:
It would be great if the kindest local-path-provisioner would support ReadWriteOncePod.
It seems like it's already implemented here rancher/local-path-provisioner#331

Why is this needed:
I love to use kind for training and demo purposes and i would like to show/demo the accessMode "ReadWriteOncePod" with kind.

AccessMode ReadWriteOncePod is imported when you do not want that pods share the same Volume - this is the case with ReadWriteOnce. https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes

@3deep5me 3deep5me added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 29, 2024
@BenTheElder
Copy link
Member

v0.0.30 is available in kind v0.26.0 but I haven't checked if this works yet and it's possible we'd use another provisioner in the future 😅

@3deep5me
Copy link
Author

3deep5me commented Jan 9, 2025

Yeah nice! It seems like to work with the current version. Thank you!

$ k get pvc,pod,pv
NAME                         STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   VOLUMEATTRIBUTESCLASS   AGE
persistentvolumeclaim/demo   Bound    pvc-480ff307-6313-4060-b56e-d8b69731a805   10Gi       RWOP           standard       <unset>                 59s

NAME         READY   STATUS    RESTARTS   AGE
pod/mypod2   1/1     Running   0          56s

NAME                                                        CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM          STORAGECLASS   VOLUMEATTRIBUTESCLASS   REASON   AGE
persistentvolume/pvc-480ff307-6313-4060-b56e-d8b69731a805   10Gi       RWOP           Delete           Bound    default/demo   standard       <unset>                          52s

@3deep5me 3deep5me closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants