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: 7fca50a20f64cfb052e03c0588f09e15a605aed4c9976891dc44b0826ee69d7e