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: ...@@ -6,7 +6,6 @@ metadata:
spec: spec:
nfs: nfs:
path: NFS_PATH ##########模板变量,nfs的目录 path: NFS_PATH ##########模板变量,nfs的目录
server: NFS_SERVER #############模板变量,nfs的ip server: NFS_SERVER #############模板变量,nfs的ip
accessModes: accessModes:
- ReadWriteMany - ReadWriteMany
...@@ -24,7 +23,7 @@ spec: ...@@ -24,7 +23,7 @@ spec:
- ReadWriteMany - ReadWriteMany
resources: resources:
requests: requests:
storage: 100Gi storage: 500Gi
########################2#################### ########################2####################
--- ---
apiVersion: v1 apiVersion: v1
...@@ -34,12 +33,11 @@ metadata: ...@@ -34,12 +33,11 @@ metadata:
spec: spec:
nfs: nfs:
path: NFS_2_PATH ##########模板变量,nfs的目录 path: NFS_2_PATH ##########模板变量,nfs的目录
server: NFS_2_SERVER #############模板变量,nfs的ip server: NFS_2_SERVER #############模板变量,nfs的ip
accessModes: accessModes:
- ReadWriteMany - ReadWriteMany
capacity: capacity:
storage: 500Gi storage: 400Gi
--- ---
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
...@@ -52,7 +50,7 @@ spec: ...@@ -52,7 +50,7 @@ spec:
- ReadWriteMany - ReadWriteMany
resources: resources:
requests: requests:
storage: 100Gi storage: 400Gi
########################3#################### ########################3####################
--- ---
apiVersion: v1 apiVersion: v1
...@@ -62,12 +60,11 @@ metadata: ...@@ -62,12 +60,11 @@ metadata:
spec: spec:
nfs: nfs:
path: NFS_3_PATH ##########模板变量,nfs的目录 path: NFS_3_PATH ##########模板变量,nfs的目录
server: NFS_3_SERVER #############模板变量,nfs的ip server: NFS_3_SERVER #############模板变量,nfs的ip
accessModes: accessModes:
- ReadWriteMany - ReadWriteMany
capacity: capacity:
storage: 500Gi storage: 300Gi
--- ---
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
...@@ -80,4 +77,4 @@ spec: ...@@ -80,4 +77,4 @@ spec:
- ReadWriteMany - ReadWriteMany
resources: resources:
requests: 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!