mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 22:13:18 +09:00
docs(kubernetes): document hardcoded eviction parameters in kubelet defaults table
Signed-off-by: Arsolitt <arsolitt@gmail.com>
This commit is contained in:
1 file changed
+4
@@ -287,9 +287,13 @@ Both `systemReservedMemory` and `kubeReservedMemory` receive the same auto-compu
|
||||
| `kubeReservedCpu` | `100m` | CPU reserved for kubelet and container runtime |
|
||||
| `evictionHardMemory` | `7%` | Hard eviction threshold for memory |
|
||||
| `evictionSoftMemory` | `10%` | Soft eviction threshold for memory |
|
||||
| `evictionSoftGracePeriod` | `1m30s` *(hardcoded)* | Duration a soft eviction threshold must be breached before triggering eviction |
|
||||
| `evictionMinimumReclaim` | `256Mi` *(hardcoded)* | Minimum amount of memory reclaimed per eviction action |
|
||||
|
||||
Eviction thresholds can be specified as percentages (e.g., `7%`) or absolute values (e.g., `200Mi`). Both thresholds must use the same unit type. The hard threshold must be strictly less than the soft threshold.
|
||||
|
||||
The `evictionSoftGracePeriod` and `evictionMinimumReclaim` parameters are currently hardcoded in the chart template and cannot be overridden through values.
|
||||
|
||||
#### Example: Override kubelet reservations
|
||||
|
||||
```yaml
|
||||
|
||||
Reference in new issue
Block a user