TMAegisBeta
openshift için daha fazla kural

Red Hat OpenShift

TMA-OPENSHIFT-4.2.11

Verify that the RotateKubeletServerCertificate argument is set to true

OrtaDüzey 2Manuel incelemeopenshift

Açıklama

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

Nasıl denetlenir

Denetim yöntemi: Manuel inceleme

Bu öneri otomatik olarak denetlenemez. --include-manual parametresini verdiğinizde tarama bunu bu talimatlarla birlikte listeler.

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}').

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

Set the RotateKubeletServerCertificate argument to true.

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
openshiftworker-nodekubelet
Referans
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 4.2.11 Verify that the RotateKubeletServerCertificate argument is set to true