apiVersion: v1
kind: PersistentVolumeClaim
metadata:
annotations:
pv.kubernetes.io/bind-completed: "yes"
pv.kubernetes.io/bound-by-controller: "yes"
volume.beta.kubernetes.io/storage-provisioner: alicloud/disk
finalizers:
- kubernetes.io/pvc-protection
labels:
name: prometheus-lyz
namespace: xltest-lyz
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
storageClassName: alicloud-disk-cloud-efficiency-shenzhen-c /你的云盘存储类
volumeMode: Filesystem
volumeName: 你的云盘实例ID