Red Hat OpenShift
TMA-OPENSHIFT-4.2.7
Ensure that the --make-iptables-util-chains argument is set to true
MediaNivel 1Revisión manualopenshift
Descripción
Allow Kubelet to manage iptables. The benchmark marks this recommendation Manual.
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --include-manual.
Use the following command to ensure each node sets makeIPTablesUtilChains to true. for node in $(oc get nodes -ojsonpath='{.items[*].metadata.name}'); do oc get --raw /api/v1/nodes/$node/proxy/configz | jq '.kubeletconfig.makeIPTablesUtilChains' done Verify the output returned for each node is true.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Set makeIPTablesUtilChains argument to `true'.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- openshiftworker-nodekubelet
- Referencia
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.7 Ensure that the --make-iptables-util-chains argument is set to true