Red Hat OpenShift
TMA-OPENSHIFT-4.2.7
Ensure that the --make-iptables-util-chains argument is set to true
MediumLevel 1Manual reviewopenshift
Description
Allow Kubelet to manage iptables. The benchmark marks this recommendation Manual.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --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.
How it is fixed
Fix method: Guidance or infrastructure patch
Set makeIPTablesUtilChains argument to `true'.
Properties
- Operating systems
- Any
- Tags
- openshiftworker-nodekubelet
- Reference
- 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