Etcd pod specification file should have permissions of 600 or more restrictive

Set up the kubernetes integration.

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

The /etc/kubernetes/manifests/etcd.yaml file should have permissions of 600 or more restrictive. The file controls various parameters that set the behavior of the etcd service in the master node. Etcd is a highly-available key-value store which Kubernetes uses for persistent storage of all of its REST API object. You should restrict the file permissions to maintain the integrity of the file. The file should be writable by only the administrators on the system.

Remediation

  1. Run the following command to adjust the file permissions:
    chmod 600 /etc/kubernetes/manifests/etcd.yaml