Difference between revisions of "Create a PersistentVolumeClaim"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
kubectl apply -f pd-xfs-pvc.yaml | kubectl apply -f pd-xfs-pvc.yaml | ||
+ | |||
+ | |||
+ | |||
+ | {{kind: PersistentVolumeClaim}} | ||
== Related == | == Related == |
Latest revision as of 11:52, 2 February 2024
pd-xfs-pvc.yaml
apiVersion: v1 kind: PersistentVolumeClaim metadata: name: xfs-pvc spec: storageClassName: xfs-class accessModes: - ReadWriteOnce resources: requests: storage: 10Gi
kubectl apply -f pd-xfs-pvc.yaml
apiVersion: v1 kind: PersistentVolumeClaim metadata: name: your-pvc spec: accessModes: - ReadWriteOnce resources: requests:
Related[edit]
See also[edit]
- Kubernetes Persistent Volume Claim (PVC) (
kind: PersistentVolumeClaim
), Kubernetes Persistent volumes (PV)(kind: PersistentVolume)
,kubectl describe pvc, kubectl get pvc
, ClaimLost, ProvisioningSucceeded, PV access control - Kubernetes storage, storage classes, PersistentVolume (PV), PVC, CSI,
kind: StorageClass, kind: PersistentVolumeClaim, kind: PersistentVolume
,kubectl [ get | describe | edit ] pvc
,volumeClaimTemplates:
,kubectl patch pv
,FailedMount
, Volume Expansion, Volume Cloning, snapshots, ExtraVolumes, NotTriggerScaleUp,volumePVCDataSource, AllowVolumeExpansion
, EKS storage, provisioner, Storage Capacity Tracking,VolumeBinding, VolumeClaimTemplate, storage.k8s.io
, CKA Storage, DoKC, EmptyDir, Volume populators,storageclass.kubernetes.io
Advertising: