The etcd data directory should be owned by etcd:etcd
Set up the kubernetes integration.
Ensure that the etcd data directory ownership is set to etcd:etcd
.
etcd
is a highly-available key-value store used by Kubernetes deployments for persistent storage of all of its REST API objects. This data directory should be protected from any unauthorized reads or writes. It should be owned by etcd:etcd
.
On the etcd server node, get the etcd data directory passed as an argument --data-dir
from the command:
Based on the etcd data directory found above, run the command:
stat -c %U:%G /var/lib/etcd
Verify the ownership is set to etcd:etcd
.
On the etcd server node, get the etcd data directory, passed as an argument --data-dir
, from the below command: ps -ef | grep etcd
Run the command (based on the etcd data directory found above): chown etcd:etcd /var/lib/etcd
None
By default, etcd data directory ownership is set to etcd:etcd
.
- https://coreos.com/etcd/docs/latest/op-guide/configuration.html#data-dir
- https://kubernetes.io/docs/admin/etcd/
Version 6
14 Controlled Access Based on the Need to Know
Version 7
5.2 Maintain Secure Images - Maintain secure images or templates for all systems in the enterprise based on the organization’s approved configuration standards. Any new system deployment or existing system that becomes compromised should be imaged using one of those images or templates.