TMAegisベータ
openshift のその他のルール

Red Hat OpenShift

TMA-OPENSHIFT-4.2.11

Verify that the RotateKubeletServerCertificate argument is set to true

中レベル 2手動レビューopenshift

説明

Enable kubelet server certificate rotation. The benchmark marks this recommendation Manual.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--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}').

修正方法

修正方法: ガイダンスまたは IaC パッチ

Set the RotateKubeletServerCertificate argument to true.

プロパティ

オペレーティングシステム
すべて
タグ
openshiftworker-nodekubelet
参照
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.11 Verify that the RotateKubeletServerCertificate argument is set to true