Skip to main content

More Info:

Ensure that the /etc/kubernetes/manifests/etcd.yaml file ownership is set to root:root.

Risk Level

Low

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Manual Steps

  1. On every control plane node, confirm the etcd manifest exists and view its current ownership:
  2. On every control plane node, set the file owner and group to root:
  3. (Optional) Re-check the file metadata directly:
  4. On every control plane node, verify the fix using the benchmark audit command:
    Confirm the output is:
kubectl cannot modify host filesystem permissions or ownership, so it cannot be used to change /etc/kubernetes/manifests/etcd.yaml to root:root. This must be fixed directly on every control plane node at the OS level; see the Manual Steps section for the required commands.

Additional Reading: