-
Notifications
You must be signed in to change notification settings - Fork 139
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
dynamic provisioning fully support #120
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Are you going to support the other part of dynamic provisioning - self service using a claim? We are looking at this driver, but none of our users have access to cluster scoped resources like storage classes and persistent volumes. They do however have access to persistent volume claims. Ideally users would make a PVC with similar parameters as shown in the PV-example and a PV would be created automatically. |
@blurpy if there is already smb storage class or smb PV, they can use this example: https://github.com/kubernetes-csi/csi-driver-smb/blob/master/deploy/example/e2e_usage.md |
That's the example I was talking about, but we don't really want to manually create a PV or storage class for them every time someone needs to mount a samba volume in a pod. It's a large network with hundreds of shares everywhere, so self service would be much preferred. |
@blurpy if you only have one SMB server, admin could set up a smb storage class with that server and user only needs to create a PVC, and when PVC is provisioned, this driver will create a standalone dir under smb server, is that what you want? |
We don't look for a way of provisioning a "new" volume using SMB, we look for a way of mounting an existing shared network folder in a pod, so apps can be migrated from legacy infrastructure. The pod needs access to the same data. There are many servers exposing SMB shares, and those of us who manage k8s don't want to be middlemen, and rather let users do this in their own namespace. Maybe this driver is not made for this use case? |
then why not create a common PVC and that PVC could be shared between multiple pods. Current scenario is:
|
With smb storage class, user only needs to create PVC, the PV will be created automatically |
From what I can understand from the documentation the storage class defines the share to connect to, so we would have to create a new storage class every time someone needs to mount a different share. Or can we configure a generic storage class and let the user specify url, username and password in the PVC somehow? Note that we are not looking for a way to create a subdir on a share, we just want to let users mount any share they want inside a pod without involving cluster admins. |
PVC is quite a generic config in k8s, there is no self-defined parameter support in PVC |
I think you are asking for this inline volume feature, it's not supported yet: apiVersion: v1
kind: Pod
metadata:
name: some-pod
spec:
containers:
...
volumes:
- name: vol
csi:
driver: inline.storage.kubernetes.io
volumeAttributes:
foo: bar |
OK, thanks for the link. Guess we have to find a different way of accessing these shares for now. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. In 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/test-infra repository. |
refer to kubernetes-csi/csi-driver-nfs#53, should support:
|
docs: steps for adding testing against new Kubernetes release
Is your feature request related to a problem?/Why is this needed
Describe the solution you'd like in detail
PR(#61) added storage class support, while it's just an empty implementation, need to add fully dynamic provisioning support:
To implement this feature, need to figure out whether there is a smb go-client
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: