Add a note about static provisioning
This commit is contained in:
parent
0a97f8d4ce
commit
63b1f45dba
1 changed files with 6 additions and 0 deletions
|
@ -99,6 +99,12 @@ parameters:
|
||||||
|
|
||||||
If the bucket is specified, it will still be created if it does not exist on the backend. Every volume will get its own prefix within the bucket which matches the volume ID. When deleting a volume, also just the prefix will be deleted.
|
If the bucket is specified, it will still be created if it does not exist on the backend. Every volume will get its own prefix within the bucket which matches the volume ID. When deleting a volume, also just the prefix will be deleted.
|
||||||
|
|
||||||
|
### Static Provisioning
|
||||||
|
|
||||||
|
If you want to mount a pre-existing bucket or prefix within a pre-existing bucket and don't want csi-s3 to delete it when PV is deleted, you can use static provisioning.
|
||||||
|
|
||||||
|
To do that you should omit `storageClassName` in the `PersistentVolumeClaim` and manually create a `PersistentVolume` with a matching `claimRef`, like in the following example: [deploy/kubernetes/examples/pvc-manual.yaml](deploy/kubernetes/examples/pvc-manual.yaml).
|
||||||
|
|
||||||
### Mounter
|
### Mounter
|
||||||
|
|
||||||
We **strongly recommend** to use the default mounter which is [GeeseFS](https://github.com/yandex-cloud/geesefs).
|
We **strongly recommend** to use the default mounter which is [GeeseFS](https://github.com/yandex-cloud/geesefs).
|
||||||
|
|
Loading…
Reference in a new issue