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 408fe1d commit cc92ffa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crds/doc-ru-localstorageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
volumeCleanup:
description: |
Метод очистки тома после удаления PV.
`Disable` - том не будет очищен после удаления PV.
Параметр не задан - том не будет очищен после удаления PV.
`RandomFillSinglePass` - том будет перезаписан случайными данными один раз перед удалением. Использовать эту опцию не рекомендуется для твердотельных накопителей, так как она уменьшает ресурс накопителя.
`RandomFillThreePass` - том будет перезаписан случайными данными три раза перед удалением. Использовать эту опцию не рекомендуется для твердотельных накопителей, так как она уменьшает ресурс накопителя.
`Discard` - все блоки тома будут отмечены как свободные с использованием системного вызова `discard` перед удалением. Эта опция имеет смысл только для твердотельных накопителей.
Expand Down
2 changes: 1 addition & 1 deletion crds/localstorageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ spec:
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:
- **Disabled**: No cleanup is performed.
- Empty parameter: 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`.
Expand Down

0 comments on commit cc92ffa

Please sign in to comment.