etcd Encryption
This guide helps you install, understand, and operate the etcd Encryption Manager in to automate etcd data encryption key rotation within your clusters.
It ensures that sensitive data stored in etcd, such as secrets and configmaps, is encrypted using a secure algorithm, enhancing your cluster's security.
TOC
Installation
See Cluster Plugin for installation instructions.
Note:
Currently supported:
- On-Premises clusters
- DCS clusters
Not supported:
global cluster
How it Works
Upon installation, an etcd-encryption-manager controller is deployed in the kube-system namespace, which:
- Periodically rotates etcd data encryption keys.
- Retains the 8 most recent keys for rollback compatibility.
- Updates encryption configurations on all control nodes.
- Triggers
kube-apiserverto hot reload new keys. - Automatically migrates resources to re-encrypt data with new keys.
Cluster stability is maintained throughout these operations.
Default Configuration
Operations Guide
Configuration Files
Checking Status
Run the following command to check the current rotation status:
Example output: