The kubelet server certificate rotation on the controller-manager should be enabled

Set up the kubernetes integration.

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

Kubelet server certificate rotation should be enabled on the controller manager. This causes the kubelet to request a serving certificate after bootstrapping its client credentials, as well as rotating the certificate when its existing credentials expire. This automated periodic rotation ensures that the there are no downtimes due to expired certificates, thus addressing availability in the CIA security triad.

Note: This recommendation only applies if you allow kubelets to retrieve their certificates from the API server. If your kubelet certificates come from an outside authority/tool (e.g. Vault), you must rotate the certificates yourself.

Remediation

Edit the Controller Manager pod specification file /etc/kubernetes/manifests/kube-controller-manager.yaml on the master node and set the --feature-gates parameter to include RotateKubeletServerCertificate=true.