Red Hat OpenShift
TMA-OPENSHIFT-4.2.1
Activate Garbage collection in OpenShift Container Platform 4, as appropriate
BaixaNível 1Revisão manualopenshift
Descrição
Configure garbage collection for containers and images as appropriate The benchmark marks this recommendation Manual.
Como é verificado
Método de auditoria: Revisão manual
Esta recomendação não pode ser verificada automaticamente. Uma varredura a lista com estas instruções quando você passa --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.
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
To configure, follow the directions in Garbage Collection Remediation
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- openshiftworker-node
- Referência
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.1 Activate Garbage collection in OpenShift Container Platform 4, as appropriate