Skip to main content

More Info:

Verifies that the RotateKubeletServerCertificate feature gate is enabled so kubelet serving certificates are automatically rotated before expiry.

Risk Level

Medium

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Manual Steps

  1. On every control plane node, check the current ownership of the controller manager manifest:
  2. On every control plane node, change the file ownership to root:root:
  3. (Optional) Confirm file permissions are appropriate (no change, just inspect):
  4. Verify the fix on every control plane node using the benchmark’s audit command:
    The output must be:
kubectl cannot modify file ownership or other host-level settings for /etc/kubernetes/manifests/kube-controller-manager.yaml; this must be fixed directly on every control plane node’s filesystem. See the Manual Steps section for the exact chown command and verification steps to run over SSH.