mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2026-02-02 07:35:12 +01:00
Merge pull request #470 from niladrih/fix-stuff
Fix this the last PR missed out on
This commit is contained in:
commit
f1fea79fb1
3 changed files with 17 additions and 15 deletions
|
|
@ -980,7 +980,7 @@ spec:
|
||||||
serviceAccountName: openebs-zfs-controller-sa
|
serviceAccountName: openebs-zfs-controller-sa
|
||||||
containers:
|
containers:
|
||||||
- name: csi-resizer
|
- name: csi-resizer
|
||||||
image: registry.k8s.io/sig-storage/csi-resizer:v1.2.0
|
image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
|
@ -993,7 +993,7 @@ spec:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /var/lib/csi/sockets/pluginproxy/
|
mountPath: /var/lib/csi/sockets/pluginproxy/
|
||||||
- name: csi-snapshotter
|
- name: csi-snapshotter
|
||||||
image: registry.k8s.io/sig-storage/csi-snapshotter:v4.0.0
|
image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
|
@ -1005,13 +1005,13 @@ spec:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /var/lib/csi/sockets/pluginproxy/
|
mountPath: /var/lib/csi/sockets/pluginproxy/
|
||||||
- name: snapshot-controller
|
- name: snapshot-controller
|
||||||
image: registry.k8s.io/sig-storage/snapshot-controller:v4.0.0
|
image: registry.k8s.io/sig-storage/snapshot-controller:v6.2.2
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--leader-election=true"
|
- "--leader-election=true"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: registry.k8s.io/sig-storage/csi-provisioner:v3.0.0
|
image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
|
@ -1222,7 +1222,7 @@ spec:
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
- name: csi-node-driver-registrar
|
- name: csi-node-driver-registrar
|
||||||
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.3.0
|
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
|
|
|
||||||
|
|
@ -2274,7 +2274,7 @@ spec:
|
||||||
serviceAccountName: openebs-zfs-controller-sa
|
serviceAccountName: openebs-zfs-controller-sa
|
||||||
containers:
|
containers:
|
||||||
- name: csi-resizer
|
- name: csi-resizer
|
||||||
image: registry.k8s.io/sig-storage/csi-resizer:v1.2.0
|
image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
|
@ -2287,7 +2287,7 @@ spec:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /var/lib/csi/sockets/pluginproxy/
|
mountPath: /var/lib/csi/sockets/pluginproxy/
|
||||||
- name: csi-snapshotter
|
- name: csi-snapshotter
|
||||||
image: registry.k8s.io/sig-storage/csi-snapshotter:v4.0.0
|
image: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
|
@ -2299,13 +2299,13 @@ spec:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /var/lib/csi/sockets/pluginproxy/
|
mountPath: /var/lib/csi/sockets/pluginproxy/
|
||||||
- name: snapshot-controller
|
- name: snapshot-controller
|
||||||
image: registry.k8s.io/sig-storage/snapshot-controller:v4.0.0
|
image: registry.k8s.io/sig-storage/snapshot-controller:v6.2.2
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--leader-election=true"
|
- "--leader-election=true"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: registry.k8s.io/sig-storage/csi-provisioner:v3.0.0
|
image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
|
@ -2516,7 +2516,7 @@ spec:
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
- name: csi-node-driver-registrar
|
- name: csi-node-driver-registrar
|
||||||
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.3.0
|
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ We can create a snapshot of a volume that can be used further for creating a clo
|
||||||
```yaml
|
```yaml
|
||||||
$ cat snapshotclass.yaml
|
$ cat snapshotclass.yaml
|
||||||
kind: VolumeSnapshotClass
|
kind: VolumeSnapshotClass
|
||||||
apiVersion: snapshot.storage.k8s.io/v1beta1
|
apiVersion: snapshot.storage.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: zfspv-snapclass
|
name: zfspv-snapclass
|
||||||
annotations:
|
annotations:
|
||||||
|
|
@ -33,7 +33,7 @@ Create the snapshot using the created SnapshotClass for the selected PVC
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cat snapshot.yaml
|
$ cat snapshot.yaml
|
||||||
apiVersion: snapshot.storage.k8s.io/v1beta1
|
apiVersion: snapshot.storage.k8s.io/v1
|
||||||
kind: VolumeSnapshot
|
kind: VolumeSnapshot
|
||||||
metadata:
|
metadata:
|
||||||
name: zfspv-snap
|
name: zfspv-snap
|
||||||
|
|
@ -59,12 +59,14 @@ zfspv-snap 2m8s
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
$ kubectl get volumesnapshot.snapshot zfspv-snap -o yaml
|
$ kubectl get volumesnapshot.snapshot zfspv-snap -o yaml
|
||||||
apiVersion: snapshot.storage.k8s.io/v1beta1
|
apiVersion: snapshot.storage.k8s.io/v1
|
||||||
kind: VolumeSnapshot
|
kind: VolumeSnapshot
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kubectl.kubernetes.io/last-applied-configuration: |
|
kubectl.kubernetes.io/last-applied-configuration: |
|
||||||
{"apiVersion":"snapshot.storage.k8s.io/v1beta1","kind":"VolumeSnapshot","metadata":{"annotations":{},"name":"zfspv-snap","namespace":"default"},"spec":{"source":{"persistentVolumeClaimName":"csi-zfspv"},"volumeSnapshotClassName":"zfspv-snapclass"}}
|
{"apiVersion":"snapshot.storage.k8s.io/v1","kind":
|
||||||
|
"VolumeSnapshot","metadata":{"annotations":{},"name":
|
||||||
|
"zfspv-snap","namespace":"default"},"spec":{"source":{"persistentVolumeClaimName":"csi-zfspv"},"volumeSnapshotClassName":"zfspv-snapclass"}}
|
||||||
creationTimestamp: "2020-02-25T08:25:51Z"
|
creationTimestamp: "2020-02-25T08:25:51Z"
|
||||||
finalizers:
|
finalizers:
|
||||||
- snapshot.storage.kubernetes.io/volumesnapshot-as-source-protection
|
- snapshot.storage.kubernetes.io/volumesnapshot-as-source-protection
|
||||||
|
|
@ -73,7 +75,7 @@ metadata:
|
||||||
name: zfspv-snap
|
name: zfspv-snap
|
||||||
namespace: default
|
namespace: default
|
||||||
resourceVersion: "447494"
|
resourceVersion: "447494"
|
||||||
selfLink: /apis/snapshot.storage.k8s.io/v1beta1/namespaces/default/volumesnapshots/zfspv-snap
|
selfLink: /apis/snapshot.storage.k8s.io/v1/namespaces/default/volumesnapshots/zfspv-snap
|
||||||
uid: 3cbd5e59-4c6f-4bd6-95ba-7f72c9f12fcd
|
uid: 3cbd5e59-4c6f-4bd6-95ba-7f72c9f12fcd
|
||||||
spec:
|
spec:
|
||||||
source:
|
source:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue