Red Hat OpenShift
TMA-OPENSHIFT-4.2.1
Activate Garbage collection in OpenShift Container Platform 4, as appropriate
НизкийУровень 1Ручная проверкаopenshift
Описание
Configure garbage collection for containers and images as appropriate The benchmark marks this recommendation Manual.
Как проверяется
Метод проверки: Ручная проверка
Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --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.
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
To configure, follow the directions in Garbage Collection Remediation
Свойства
- Операционные системы
- Любая
- Теги
- openshiftworker-node
- Источник
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.1 Activate Garbage collection in OpenShift Container Platform 4, as appropriate