Skip to main content
Version: 3.1

Enable CSI

Prerequisites

Before you install and use Portworx with CSI, ensure you meet the prerequisistes:

  • Openshift users must use Openshift 4.1 or higher
  • Kubernetes users must use 1.13.12 or higher
  • Certain features may require newer versions of Kubernetes or Portworx

Overview

The Portworx CSI Driver requires additional components called CSI Sidecars in order to function properly. To make sure these components and their dependencies are installed on your cluster, follow the instructions below.

Portworx CSI installed by default

Starting with the Portworx Operator, CSI is enabled by default for new Portworx installations. Due to the nature of CSI and its dependencies, it is highly recommend using the Portworx Operator for installation.

The Portworx Operator easily manages all CSI components based on your Kubernetes and Portworx versions. This makes upgrading Kubernetes and Portworx versions far easier.

note

Explicitly disabling CSI will also prevent the Pure Storage FlashArray/FlashBlade DirectAccess mode from working.

Openshift installation

If you are using Openshift, you must add the px-csi-account service account to the privileged security context.

oc adm policy add-scc-to-user privileged system:serviceaccount:kube-system:px-csi-account
note

If you experience the error errorUnable to update cluster as v1alpha1 version of ... Remove these CRDs to allow the upgrade to proceed, follow this solution from RedHat.

Contribute

Portworx by Pure Storage welcomes contributions to its CSI implementation, which is open-source with a repository located at OpenStorage. In addition, we also encourage contributions to the Kubernetes-CSI open source implementation.

Was this page helpful?