Files
homelab/cluster/platform/portworx-csi/storageclass-file.yaml
Hermes Agent service account 459dbc5d18 Add Portworx CSI driver for Pure Storage FlashArray
- Deploy Portworx Operator + CSI driver via ArgoCD
- Support both iSCSI block and NFS file storage from FlashArray
- Integrate with 1Password External Secrets for FlashArray credentials
- Include comprehensive deployment documentation and validation script
- Storage classes: pure-block (iSCSI) and pure-file (NFS)
- Talos Linux compatible with iSCSI/multipath configuration
2026-06-18 23:08:29 -05:00

57 lines
1.5 KiB
YAML

# ------------------------------------------------------------------------------
# StorageClass: pure-file
# Provisioner: pxd.portworx.com (Portworx CSI)
# Backend: Pure Storage FlashArray File Services (NFS)
#
# Use case: Shared file storage for applications requiring RWX access
# Features:
# - NFS-based file storage from FlashArray File Services
# - Dynamic provisioning of NFS exports
# - RWX (ReadWriteMany) access mode support
# - Delete reclaim policy
#
# Prerequisites:
# - FlashArray File Services enabled
# - NFS policy configured on FlashArray
# - NFSEndPoint specified in pure.json
#
# Parameters:
# - backend: "pure-file" (uses FlashArray File Services)
# - export_options: NFS export options
# ------------------------------------------------------------------------------
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: pure-file
annotations:
storageclass.kubernetes.io/is-default-class: "false"
provisioner: pxd.portworx.com
parameters:
# Backend type - FlashArray File Services (NFS)
backend: "pure-file"
# NFS export options
export_options: "*(rw,no_root_squash)"
# Filesystem type (NFS is the protocol, not a local filesystem)
# This parameter may not be applicable for pure-file backend
# Priority for placement
priority_io: "medium"
# Reclaim policy
reclaimPolicy: Delete
# Volume binding mode
volumeBindingMode: Immediate
# Allow volume expansion
allowVolumeExpansion: true
# Mount options for NFS
mountOptions:
- nfsvers=4.1
- hard
- timeo=600
- retrans=3