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
| Flag | Input type | Description | Default | Required |
|---|---|---|---|---|
--mgmt-endpoint, -m | string | Management endpoint for the storage backend | - | Yes |
--namespace, -n | string | (optional) Kubernetes namespace where PX-CSI pods are running | - | Optional |
--nfs-endpoint | string | (optional) NFS endpoint for the FlashArray/FlashBlade backend. | - | Optional |
--type, -t | string | Endpoint type: FlashArray/FlashBlade (fa/fb) | - | Yes |
--vlan | string | (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
| Flag | Input type | Description | Default | Required |
|---|---|---|---|---|
--namespace, -n | string | (optional) Kubernetes namespace where PX-CSI pods are running | - | Optional |
--secret-key | string | Secret key for PX-CSI | - | Yes |