Red Hat OpenShift
TMA-OPENSHIFT-4.2.7
Ensure that the --make-iptables-util-chains argument is set to true
MittelStufe 1Manuelle Prüfungopenshift
Beschreibung
Allow Kubelet to manage iptables. The benchmark marks this recommendation Manual.
So wird geprüft
Prüfmethode: Manuelle Prüfung
Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.
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.
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
Set makeIPTablesUtilChains argument to `true'.
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- openshiftworker-nodekubelet
- Referenz
- 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