A GKE Cluster's Kubelet should rotate client certificates automatically

Description

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

Remediation

Choose a remediation method from below. For both steps, a restart of the Kubelet service is required.

Kubelet config file

  1. Add the json below to this file: /etc/kubernetes/kubelet/kubelet-config.json
"rotateCertificates": true

Executable arguments

--rotate-certificates=true