Red Hat OpenShift
TMA-OPENSHIFT-4.2.7
Ensure that the --make-iptables-util-chains argument is set to true
MédiaNível 1Revisão manualopenshift
Descrição
Allow Kubelet to manage iptables. 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.
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.
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Set makeIPTablesUtilChains argument to `true'.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- openshiftworker-nodekubelet
- Referência
- 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