Prerequisites to add Kubernetes cluster using CSI driver
Before you add a Kubernetes cluster that uses CSI driver to take backups:
Portworx features native CSI driver support for cloud providers with their own native CSI driver support, such as AKS, EKS, and GKE. You do not need to follow these instructions to use Portworx Backup on those clusters. Instead, see the page for your respective cloud provider.
Prerequisites
Kubernetes prerequisites:
Kubernetes clusters must be at least version 1.17 to use the Kubernetes CSI Snapshotting Beta feature.
Kubernetes clusters must have the snapshot-controller version 3.0 or greater. In Kubernetes 1.20, the volume snapshot feature is available. If you use an older version of Kubernetes, then install the snapshot-controller.
The CSI driver should implement the following:
The CSI driver must include the CSI snapshots and restores feature.
The CSI driver must have the
snapshotter-sidecar
running at version 2.0 or greater.The CSI driver must have the
external-snapshotter
running at version 2.0 or greater.Ideally, the CSI driver should implement
ListSnapshots
for indicating that the snapshot is ready to use on the storage backend.For cross-cluster restores, the CSI drivers for both clusters will need to be connected to the same storage backend. In particular, the
snapshotHandle
used on the source cluster must be visible on the destination cluster via CSIListSnapshots
.
Related topic: