Commit 605e4ff9 by tingweiwang

通过容量约定匹配。实现adl-pv匹配adl-pvc adl-pv2匹配adl-pvc2保持一 一对应。

1 parent 7737a759
Showing with 5 additions and 8 deletions
......@@ -6,7 +6,6 @@ metadata:
spec:
nfs:
path: NFS_PATH ##########模板变量,nfs的目录
server: NFS_SERVER #############模板变量,nfs的ip
accessModes:
- ReadWriteMany
......@@ -24,7 +23,7 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 100Gi
storage: 500Gi
########################2####################
---
apiVersion: v1
......@@ -34,12 +33,11 @@ metadata:
spec:
nfs:
path: NFS_2_PATH ##########模板变量,nfs的目录
server: NFS_2_SERVER #############模板变量,nfs的ip
accessModes:
- ReadWriteMany
capacity:
storage: 500Gi
storage: 400Gi
---
kind: PersistentVolumeClaim
......@@ -52,7 +50,7 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 100Gi
storage: 400Gi
########################3####################
---
apiVersion: v1
......@@ -62,12 +60,11 @@ metadata:
spec:
nfs:
path: NFS_3_PATH ##########模板变量,nfs的目录
server: NFS_3_SERVER #############模板变量,nfs的ip
accessModes:
- ReadWriteMany
capacity:
storage: 500Gi
storage: 300Gi
---
kind: PersistentVolumeClaim
......@@ -80,4 +77,4 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 100Gi
storage: 300Gi
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!