Red Hat OpenShift
TMA-OPENSHIFT-4.2.1
Activate Garbage collection in OpenShift Container Platform 4, as appropriate
ThấpCấp 1Xem xét thủ côngopenshift
Mô tả
Configure garbage collection for containers and images as appropriate The benchmark marks this recommendation Manual.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.
Two types of garbage collection are performed on an OpenShift Container Platform node: • Container garbage collection: Removes terminated containers. • Image garbage collection: Removes images not referenced by any running pods. Container garbage collection can be performed using eviction thresholds. Image garbage collection relies on disk usage as reported by cAdvisor on the node to decide which images to remove from the node.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
To configure, follow the directions in Garbage Collection Remediation
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- openshiftworker-node
- Tham chiếu
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.1 Activate Garbage collection in OpenShift Container Platform 4, as appropriate