Skip to content

Commit

Permalink
Signed-off-by: v.oleynikov <vasily.oleynikov@flant.com>
Browse files Browse the repository at this point in the history
  • Loading branch information
duckhawk committed Feb 20, 2025
1 parent 8d9ba18 commit 29ac7a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions crds/doc-ru-localstorageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ spec:
volumeCleanup:
description: |
Метод очистки тома после удаления PV.
`Disable` - том не будет очищен после удаления PV.
`RandomFillSinglePass` - том будет перезаписан случайными данными один раз перед удалением. Использовать эту опцию не рекомендуется для твердотельных накопителей, так как она уменьшает ресурс накопителя.
`RandomFillThreePass` - том будет перезаписан случайными данными три раза перед удалением. Использовать эту опцию не рекомендуется для твердотельных накопителей, так как она уменьшает ресурс накопителя.
`Discard` - все блоки тома будут отмечены как свободные с использованием системного вызова `discard` перед удалением. Эта опция имеет смысл только для твердотельных накопителей.
Expand Down
8 changes: 4 additions & 4 deletions crds/localstorageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ spec:
x-doc-d8editions: [ee,fe]
description: |
**This feature is available in EE and FE.**
Specifies the cleanup method to be applied to the PV’s subdirectory content before deletion.
By default, the NFS CSI driver simply deletes the directory created for the Persistent Volume (PV) on the NFS server without performing any data cleanup.
When volumeCleanup is enabled, the driver will erase each file in the PV directory.
Specifies the cleanup method to be applied to the PV’s content before deletion.
When volumeCleanup is enabled, the driver will erase PV content.
Valid options are:
- **Discard**: Uses the filesystem’s discard (trim) functionality to free data blocks. (This option is available only when supported, for example with NFSv4.2.)
- **Disabled**: No cleanup is performed.
- **Discard**: Uses the filesystem’s discard (trim) functionality to free data blocks. (This option is available only when supported)
- **RandomFillSinglePass**: Overwrites the content of each file once with random data before deletion. This is implemented by invoking the utility `shred`.
- **RandomFillThreePass**: Overwrites the content of each file three times with random data before deletion. This is implemented by invoking the utility `shred`.
enum:
Expand Down

0 comments on commit 29ac7a9

Please sign in to comment.