An AKS Cluster's Kubelet should rotate server certificates automatically

Description

Server certificates should be rotated. This ensures there is no downtime due to expired certificates.

Remediation

Choose one of the following remediation methods. For both methods, a restart of the Kubelet service is required.

Kubelet config file

  1. Add the following JSON to the feature gates section of the /etc/kubernetes/kubelet/kubelet-config.json file.
"RotateKubeletServerCertificate": true

Executable arguments

--rotate-kubelet-server-certificate=true