Discrepancy between persistent volume usage and ceph storage
Kubernetes does not release the blocks freed up by the filesystem. Adding the discard mount option to the general storageclass and allow the volume usage to track closer to the filesystem usage. Change-Id: Ibd66ebcb578b74bf1cb8ae848f3b485fb1c14dfc Closes-bug: 1869742 Signed-off-by: Elena Taivan <elena.taivan@windriver.com>
This commit is contained in:
parent
d7474cf309
commit
c608f2aaa9
|
@ -31,6 +31,8 @@ parameters:
|
|||
userSecretName: {{ $classConfig.userSecretName }}
|
||||
imageFormat: {{ or $classConfig.imageFormat $defaults.imageFormat | quote }}
|
||||
imageFeatures: {{ or $classConfig.imageFeatures $defaults.imageFeatures}}
|
||||
mountOptions:
|
||||
- discard
|
||||
---
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue