Deployment
Deployment
NOTE: Encryption is not supported for CSM 1.9.x release. Please refer to the release notes for more details.
Encryption provides the capability to encrypt user data residing on volumes created by Dell CSI Drivers.
NOTE: This tech-preview release is not intended for use in production environment.
NOTE: Encryption requires a time-based license to create new encrypted volumes. Request a trial license prior to deployment.
After the license expiration, existing encrypted volume can still be unlocked and used, but no new encrypted volumes can be created.
The volume data is encrypted on the Kubernetes worker host running the application workload, transparently for the application.
Under the hood, gocryptfs, an open-source FUSE based encryptor, is used to encrypt both files content and the names of files and directories.
Files content is encrypted using AES-256-GCM and names are encrypted using AES-256-EME.
gocryptfs needs a password to initialize and to unlock the encrypted file system. Encryption generates 32 random bytes for the password and stores them in Hashicorp Vault.
For detailed information on the cryptography behind gocryptfs, see gocryptfs Cryptography.
When a CSI Driver is installed with the Encryption feature enabled, two provisioners are registered in the cluster:
Provisioner for unencrypted volumes
This provisioner belongs to the storage driver and does not depend on the Encryption feature. Use a storage class with this provisioner to create regular unencrypted volumes.
Provisioner for encrypted volumes
This provisioner belongs to Encryption and registers with the name encryption.pluginName
when Encryption is enabled. Use a storage class with this provisioner to create encrypted volumes.
Feature | PowerScale |
---|---|
Dynamic provisionings of new volumes | Yes |
Static provisioning of new volumes | Yes |
Volume snapshot creation | Yes |
Volume creation from snapshot | Yes |
Volume cloning | Yes |
Volume expansion | Yes |
Encrypted volume unlocking in a different cluster | Yes |
User file and directory names encryption | Yes |
controllerCount
has to be set to 1.COP/OS | Supported Versions |
---|---|
Kubernetes | 1.26, 1.27, 1.28 |
Red Hat OpenShift | 4.13, 4.14 |
PowerScale | |
---|---|
Storage Array | OneFS 9.3, 9.4, 9.5.0.5, 9.5.0.6 |
Encryption supports these CSI drivers and versions:
Storage Array | CSI Driver | Supported Versions |
---|---|---|
CSI Driver for Dell PowerScale | csi-powerscale | v2.8 + |
When enabling Encryption for PowerScale CSI Driver, make sure these requirements are met:
controllerCount
is set to 1Supported Vault version is 1.9.3 and newer.
Vault server (or cluster) is typically deployed in a dedicated Kubernetes cluster, but for the purpose of Encryption, it can be located anywhere. Even the simplest standalone single instance server with in-memory storage will suffice for testing.
NOTE: Properly deployed and configured Vault is crucial for security of the volumes encrypted with Encryption. Please refer to the Hashicorp Vault documentation regarding recommended deployment options.
CAUTION: Compromised Vault server or Vault storage back-end may lead to unauthorized access to the volumes encrypted with Encryption.
CAUTION: Destroyed Vault storage back-end or the encryption key stored in it, will make it impossible to unlock the volume encrypted with Encryption. Access to the data will be lost for ever.
Refer to Vault Configuration section for minimal configuration steps required to support Encryption and other configuration considerations.
This preview of Encryption includes the ability to change the KEK (Key Encryption Key) of an encrypted volume, an operation commonly known as Shallow Rekey, or Shallow Key Rotation. The KEK is the 256-bit key that encrypts the Data Encryption Key which encrypts the data on the volume.
NOTE: Stopping the SSH server on the worker host makes any encrypted volume attached to this host inaccessible.
fusermount
and mount.fuse
. They are pre-installed in most Linux distros.
To install package fuse in Ubuntu/Debian run command similar to apt install fuse
.
To install package fuse in SUSE run command similar to zypper install fuse
.Deployment
Uninstallation
Configuration requirements for Vault server
Rekey Configuration and Usage
Release Notes
Troubleshooting