TMAegisBeta
Aturan lainnya untuk openshift

Red Hat OpenShift

TMA-OPENSHIFT-4.2.11

Verify that the RotateKubeletServerCertificate argument is set to true

SedangLevel 2Tinjauan manualopenshift

Deskripsi

Enable kubelet server certificate rotation. 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.

Run the following command to check if the RotateKubeletServerCertificate feature gate is enabled on each node: for node in $(oc get nodes -ojsonpath='{.items[*].metadata.name}'); do oc get --raw /api/v1/nodes/$node/proxy/configz | jq '.kubeletconfig.featureGates.RotateKubeletServerCertificate' done Verify that all nodes return true. Run the following command to check that each node is configured to rotate certificates: for node in $(oc get nodes -ojsonpath='{.items[*].metadata.name}').

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

Set the RotateKubeletServerCertificate argument to true.

Properti

Sistem operasi
Apa saja
Tag
openshiftworker-nodekubelet
Referensi
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.11 Verify that the RotateKubeletServerCertificate argument is set to true