TMA-KUBERNETES-1.2.27
Ensure that the --encryption-provider-config argument is set as appropriate
Mô tả
Encrypt etcd key-value store. The benchmark marks this recommendation Manual.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.
Run the following command on the Control Plane node: ps -ef | grep kube-apiserver Verify that the --encryption-provider-config argument is set to a EncryptionConfig file. Additionally, ensure that the EncryptionConfig file has all the desired resources covered especially any secrets.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Follow the Kubernetes documentation and configure a EncryptionConfig file. Then, edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml on the master node and set the --encryption-provider-config parameter to the path of that file: --encryption-provider-config=</path/to/EncryptionConfig/File>
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- kubernetesapi-serversecrets
- Tham chiếu
- CIS Kubernetes Benchmark v2.1.0 - 1.2.27 Ensure that the --encryption-provider-config argument is set as appropriate