1.5.7 Ensure that the --wal-dir argument is set as appropriate

Information

Store etcd logs separately from etcd data.

Rationale:

etcd is a highly-available key value store used by Kubernetes deployments for persistent storage of all of its REST API objects. These objects are sensitive in nature and should not be mixed with log data. Keeping the log data separate from the etcd data also ensures that those two types of data could individually be safeguarded. Also, you could use a centralized and remote log directory for persistent logging. Additionally, this separation also helps to avoid IO competition between logging and other IO operations.

Solution

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

--wal-dir=

Impact:

None

See Also

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

Item Details

Category: AUDIT AND ACCOUNTABILITY

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

Plugin: Unix

Control ID: e088eb7bbad4d0edfda3e537dba37a81727c63e9fbfc34c691c272dea6a515e0