Add Kubernetes Cluster using CSI Driver
Before you add a Kubernetes cluster that uses CSI driver in Portworx Backup, ensure that the following prerequisites are met:
Portworx supports native CSI drivers for cloud providers that offer their own CSI implementations, such as AKS, EKS, and GKE. You do not need to follow these instructions when using Portworx Backup on these clusters. Instead, refer to the documentation for your respective cloud provider.
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.
CSI driver prerequisites
The CSI driver must implement the following:
-
Include the CSI snapshots and restores feature.
-
Have the
snapshotter-sidecarrunning at version 2.0 or greater. -
Have the
external-snapshotterrunning at version 2.0 or greater. -
ListSnapshotsfor indicating that the snapshot is ready to use on the storage backend. -
For cross-cluster restores, the CSI drivers for both clusters are connected to the same storage backend. In particular, the
snapshotHandleused on the source cluster must be visible on the destination cluster via CSIListSnapshots.
Related topic: