日常更新
This commit is contained in:
@@ -4,6 +4,7 @@ kind: PersistentVolume # 资源类型:持久卷(集群级)
|
||||
metadata: # PV 元信息
|
||||
name: nfs-pv-demo # PV 名称
|
||||
spec: # PV 规格
|
||||
storageClassName: "" # 显式禁用默认 StorageClass,供静态绑定 PVC 使用
|
||||
capacity: # 容量声明
|
||||
storage: 20Gi # PV 总容量
|
||||
accessModes: # 访问模式列表
|
||||
@@ -19,6 +20,7 @@ metadata: # PVC 元信息
|
||||
name: nfs-pvc-demo # PVC 名称
|
||||
namespace: default # PVC 所在命名空间
|
||||
spec: # PVC 规格
|
||||
storageClassName: "" # 与 PV 对齐,避免被默认 longhorn class 注入导致绑定失败
|
||||
accessModes: # 访问模式要求
|
||||
- ReadWriteMany # 申请 RWX 访问模式
|
||||
resources: # 资源请求
|
||||
|
||||
Reference in New Issue
Block a user