Update default value of StorageReserved value of root disk

This commit is contained in:
JacieChao 2018-08-15 10:33:05 +08:00 committed by Sheng Yang
parent 64562f16b1
commit eb65b2f961

View File

@ -13,6 +13,8 @@ Longhorn will detect the storage information (e.g. maximum space, available spac
User can reserve a certain amount of space of the disk to stop Longhorn from using it. It can be set in the `Space Reserved` field for the disk. It's useful for the non-dedicated storage disk on the node.
The kubelet needs to preserve node stability when available compute resources are low. This is especially important when dealing with incompressible compute resources, such as memory or disk space. If such resources are exhausted, nodes become unstable. To avoid kubelet `Disk pressure` issue after scheduling several volumes, by default, longhorn reserved 30% of root disk space (`/var/lib/rancher/longhorn`) to ensure node stability.
Nodes and disks can be excluded from future scheduling. Notice any scheduled storage space won't be released automatically if the scheduling was disabled for the node.
There are two global settings affect the scheduling of the volume as well.