PersistentVolumeClaim 详解

版本

详解

kind: PersistentVolumeClaim
apiVersion: v1

metadata: (ObjectMeta)
spec: (PersistentVolumeClaimSpec)
  accessModes: (string array)
  -
  dataSource: (TypedLocalObjectReference)
  resources: (ResourceRequirements)
  selector: (LabelSelector)
  storageClassName: (string) StorageClass 名字
  volumeMode: (string) 
  volumeName: (string) VolumeName是对支持此声明的PersistentVolume的绑定引用。
status: (PersistentVolumeClaimStatus)