mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
PV & PVC Client implementation
This commit is contained in:
10
examples/persistent-volumes/volumes/gce.yaml
Normal file
10
examples/persistent-volumes/volumes/gce.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
kind: PersistentVolume
|
||||
apiVersion: v1beta3
|
||||
metadata:
|
||||
name: pv0003
|
||||
spec:
|
||||
capacity:
|
||||
storage: 10
|
||||
gcePersistentDisk:
|
||||
pdName: "abc123"
|
||||
fsType: "ext4"
|
11
examples/persistent-volumes/volumes/local-01.yaml
Normal file
11
examples/persistent-volumes/volumes/local-01.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
kind: PersistentVolume
|
||||
apiVersion: v1beta3
|
||||
metadata:
|
||||
name: pv0001
|
||||
labels:
|
||||
type: local
|
||||
spec:
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
hostPath:
|
||||
path: "/tmp/data01"
|
11
examples/persistent-volumes/volumes/local-02.yaml
Normal file
11
examples/persistent-volumes/volumes/local-02.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
kind: PersistentVolume
|
||||
apiVersion: v1beta3
|
||||
metadata:
|
||||
name: pv0002
|
||||
labels:
|
||||
type: local
|
||||
spec:
|
||||
capacity:
|
||||
storage: 5Gi
|
||||
hostPath:
|
||||
path: "/tmp/data02"
|
Reference in New Issue
Block a user