Red Hat OpenShift
TMA-OPENSHIFT-4.2.7
Ensure that the --make-iptables-util-chains argument is set to true
SedangLevel 1Tinjauan manualopenshift
Deskripsi
Allow Kubelet to manage iptables. The benchmark marks this recommendation Manual.
Cara pemeriksaan
Metode audit: Tinjauan manual
Rekomendasi ini tidak dapat diperiksa secara otomatis. Pemindaian akan menampilkannya beserta petunjuk ini saat Anda memberikan opsi --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.
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
Set makeIPTablesUtilChains argument to `true'.
Properti
- Sistem operasi
- Apa saja
- Tag
- openshiftworker-nodekubelet
- Referensi
- 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