Skip to main content

px csi create

Create PX-CSI resources

note

The following commands support a set of global flags that apply to all px csi commands.
For details, see the Global Flags section.

px csi create backend

Add a new storage backend in pure.json

Examples:

# Add a new storage backend in pure.json
kubectl px csi create backend --mgmt-endpoint <mgmt-endpoint> --type <fa/fb>

Flags

FlagInput typeDescriptionDefaultRequired
--mgmt-endpoint, -mstringManagement endpoint for the storage backend-Yes
--namespace, -nstring(optional) Kubernetes namespace where PX-CSI pods are running-Optional
--nfs-endpointstring(optional) NFS endpoint for the FlashArray/FlashBlade backend.-Optional
--type, -tstringEndpoint type: FlashArray/FlashBlade (fa/fb)-Yes
--vlanstring(optional) VLAN ID-Optional

px csi create cluster-key

Create the cluster-wide secret key for encryption

Examples:

# Create the cluster-wide secret key for encryption
kubectl px csi create cluster-key --secret-key <secret-key>

Flags

FlagInput typeDescriptionDefaultRequired
--namespace, -nstring(optional) Kubernetes namespace where PX-CSI pods are running-Optional
--secret-keystringSecret key for PX-CSI-Yes