Etcd should use TLS encryption for peer connections

Set up the kubernetes integration.

Description

Etcd should be configured to make use of TLS encryption for peer connections. 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 be encrypted in transit and also amongst peers in the etcd clusters.

Remediation

  1. Follow the etcd service documentation and configure peer TLS encryption as appropriate for your etcd cluster.
  2. Edit the etcd pod specification file /etc/kubernetes/manifests/etcd.yaml on the master node and set the following parameters:
--peer-cert-file=</path/to/peer-cert-file> 
--peer-key-file=</path/to/peer-key-file>