The kubelet client certificate rotation should be enabled

Set up the kubernetes integration.

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Description

Kubelet client certificate rotation should be enabled. The --rotate-certificates setting tells the kubelet to rotate its client certificates by creating new CSRs when its existing credentials expire. This automated periodic rotation ensures that there is no downtime due to expired certificates and thus addresses availability in the CIA security triad.

Note: This recommendation only applies if you let kubelets get their certificates from the API server. In cases where your kubelet certificates come from an outside authority or tool (for example, Vault), then you need to manually do the rotation.

Remediation

  1. If using a kubelet config file, edit the file to add the line rotateCertificates: true.
  2. If using command line arguments, edit the kubelet service file /etc/systemd/system/kubelet.service.d/10-kubeadm.conf on each worker node and add the argument below from the KUBELET_CERTIFICATE_ARGS variable.
    --rotate-certificates=true
    
  3. Restart the kubelet service.
PREVIEWING: esther/docs-9518-update-example-control-sensitive-log-data