Commit e9669c69 by tingweiwang

Update 4-pv_pvc.yaml

1 parent 32fe4365
Showing with 52 additions and 0 deletions
##################1#################
apiVersion: v1 apiVersion: v1
kind: PersistentVolume kind: PersistentVolume
metadata: metadata:
...@@ -22,3 +23,53 @@ spec: ...@@ -22,3 +23,53 @@ spec:
resources: resources:
requests: requests:
storage: 100Gi storage: 100Gi
##################2#################
apiVersion: v1
kind: PersistentVolume
metadata:
name: kpl-pv-2
spec:
nfs:
path: NFS_PATH_2
server: NFS_SERVER_2
accessModes:
- ReadWriteMany
capacity:
storage: 500Gi
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: kpl-pvc2
namespace: kpl
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 100Gi
##################3#################
apiVersion: v1
kind: PersistentVolume
metadata:
name: kpl-pv3
spec:
nfs:
path: NFS_PATH_3
server: NFS_SERVER_3
accessModes:
- ReadWriteMany
capacity:
storage: 500Gi
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: kpl-pvc3
namespace: kpl
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 100Gi
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!