Set up the kubernetes integration.
Ensure that the Kubernetes PKI directory and file ownership is set to root:root.
Kubernetes makes use of a number of certificates as part of its operation. You should set the ownership of the directory containing the PKI information and all files in that directory to maintain their integrity. The directory and files should be owned by root:root.
Run the below command (based on the file location on your system) on the master node.
ls -laR /etc/kubernetes/pki/
Verify the ownership of all files and directories in this hierarchy is set to
Run the below command (based on the file location on your system) on the master node. For example,
chown -R root:root /etc/kubernetes/pki/
By default, the
/etc/kubernetes/pki/ directory and all of the files and directories contained within it, are set to be owned by the root user.
5.1 Minimize And Sparingly Use Administrative Privileges - Minimize administrative privileges and only use administrative accounts when they are required. Implement focused auditing on the use of administrative privileged functions and monitor for anomalous behavior.