mirror of
https://github.com/oracle/zfssa-csi-driver.git
synced 2025-09-04 22:31:07 +00:00
Initial publication of ZFSSA CSI driver
This commit is contained in:
21
examples/nfs-snapshot/nfs-pod-restored-volume.yaml
Normal file
21
examples/nfs-snapshot/nfs-pod-restored-volume.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: zfssa-nfs-vs-restore-pod
|
||||
labels:
|
||||
name: ol7slim-test
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
containers:
|
||||
- image: container-registry.oracle.com/os/oraclelinux:7-slim
|
||||
command: ["/bin/sh", "-c"]
|
||||
args: [ "tail -f /dev/null" ]
|
||||
name: ol7slim
|
||||
volumeMounts:
|
||||
- name: vol
|
||||
mountPath: /mnt
|
||||
volumes:
|
||||
- name: vol
|
||||
persistentVolumeClaim:
|
||||
claimName: zfssa-nfs-vs-restore-pvc
|
||||
readOnly: false
|
16
examples/nfs-snapshot/nfs-pvc-from-snapshot.yaml
Normal file
16
examples/nfs-snapshot/nfs-pvc-from-snapshot.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: zfssa-nfs-vs-restore-pvc
|
||||
spec:
|
||||
storageClassName: zfssa-nfs-vs-example-sc
|
||||
dataSource:
|
||||
name: zfssa-nfs-vs-snapshot
|
||||
kind: VolumeSnapshot
|
||||
apiGroup: snapshot.storage.k8s.io
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 68796
|
8
examples/nfs-snapshot/nfs-snapshot.yaml
Normal file
8
examples/nfs-snapshot/nfs-snapshot.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: snapshot.storage.k8s.io/v1beta1
|
||||
kind: VolumeSnapshot
|
||||
metadata:
|
||||
name: zfssa-nfs-vs-snapshot
|
||||
spec:
|
||||
volumeSnapshotClassName: zfssa-nfs-vs-example-vsc
|
||||
source:
|
||||
persistentVolumeClaimName: zfssa-nfs-vs-example-pvc
|
Reference in New Issue
Block a user