Update kubelet-garbage-collection.md
This commit is contained in:
@@ -37,14 +37,14 @@ Containers that are not managed by kubelet are not subject to container garbage
|
|||||||
|
|
||||||
## User Configuration
|
## User Configuration
|
||||||
|
|
||||||
Users can adjust the following thresholds to tune image garbage collection with the following kubelet flags :
|
You can adjust the following thresholds to tune image garbage collection with the following kubelet flags :
|
||||||
|
|
||||||
1. `image-gc-high-threshold`, the percent of disk usage which triggers image garbage collection.
|
1. `image-gc-high-threshold`, the percent of disk usage which triggers image garbage collection.
|
||||||
Default is 85%.
|
Default is 85%.
|
||||||
2. `image-gc-low-threshold`, the percent of disk usage to which image garbage collection attempts
|
2. `image-gc-low-threshold`, the percent of disk usage to which image garbage collection attempts
|
||||||
to free. Default is 80%.
|
to free. Default is 80%.
|
||||||
|
|
||||||
Users can customize the garbage collection policy through the following kubelet flags:
|
You can customize the garbage collection policy through the following kubelet flags:
|
||||||
|
|
||||||
1. `minimum-container-ttl-duration`, minimum age for a finished container before it is
|
1. `minimum-container-ttl-duration`, minimum age for a finished container before it is
|
||||||
garbage collected. Default is 0 minute, which means every finished container will be garbage collected.
|
garbage collected. Default is 0 minute, which means every finished container will be garbage collected.
|
||||||
|
|||||||
Reference in New Issue
Block a user