Skip to main content

More Info:

Verifies that the etcd pod manifest file has permissions of 600 or more restrictive to protect the datastore configuration.

Risk Level

Medium

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Manual Steps

  1. On every control plane node, check the current permissions of the etcd manifest file:
  2. On every control plane node, set the permissions of the etcd manifest file to 600:
  3. (Optional, on every control plane node) Set the file owner and group to root (if not already):
  4. On every control plane node, verify the permissions are now 600 or more restrictive:
    Ensure the output shows:
kubectl cannot modify file permissions on control plane nodes, so it cannot fix the permissions on /etc/kubernetes/manifests/etcd.yaml. This must be corrected directly on every control plane node’s filesystem; see the Manual Steps section for the required host-level commands.