1.5.8 Ensure that the --max-wals argument is set to 0

Information

Do not auto rotate logs.

Rationale:

etcd is a highly-available key value store used by Kubernetes deployments for persistent storage of all of its REST API objects. You should avoid automatic log rotation and instead safeguard the logs in a centralized repository or through a separate log management system.

Solution

Edit the etcd pod specification file '/etc/kubernetes/manifests/etcd.yaml' on the master node and set the below parameter.

--max-wals=0

Impact:

You will have to manage log rotation and archiving.

See Also

https://workbench.cisecurity.org/files/1788

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9, CSCv6|6

Plugin: Unix

Control ID: fc1e543e88b6b58743607446f8f22959d1a20491f6365443b5ea545ecb2d2b27