4.2.1 Activate Garbage collection in OpenShift Container Platform 4, as appropriate

Information

Configure garbage collection for containers and images as appropriate

Rationale:

Garbage collection is important to ensure sufficient resource availability and avoiding degraded performance and availability. In the worst case, the system might crash or just be unusable for a long period of time. Based on your system resources and tests, choose an appropriate threshold value to activate garbage collection.

Impact:

Incorrect configuration of garbage collection parameters can lead to system instability, degraded performance, and in worst cases, system crashes. Properly set parameters ensure efficient utilization of system resources.'

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

To configure, follow the directions in Garbage Collection Remediation

Default Value:

The kubelet has the following default hard eviction thresholds:

{

'imagefs.available': '15%',

'memory.available': '100Mi',

'nodefs.available': '10%',

'nodefs.inodesFree': '5%'

}

Noted: These default values of hard eviction thresholds will only be set if none of the parameters is changed. If you changed the value of any parameter, then the values of other parameters will not be inherited as the default values and will be set to zero. In order to provide custom values, you should provide all the thresholds respectively.

See Also

https://workbench.cisecurity.org/benchmarks/16094

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-16, CSCv7|5.1

Plugin: OpenShift

Control ID: 51fac155cb80a8fb0d07637926d0f627194bcef325d81a9f99a35b45858a1151