mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-11 22:10:11 +01:00
bug(zfspv): not able to deploy on rancher with ZFS 0.8.
The ZFS 0.8 has dependency on libcrypto.so.1.1 which in turn requires GLIBC_2.25 supported by the system. Changed the docker image to 18:04 as 16:04 has glibc version 2.23. Also updated the README with the supported system details. Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
eee591257c
commit
b33542eee2
3 changed files with 18 additions and 19 deletions
|
|
@ -152,5 +152,10 @@ zfspv-pool/pvc-f52058b7-da1c-11e9-80e0-42010a800fcd 4.25G 96.4G 5.69M -
|
||||||
|
|
||||||
4. for deprovisioning the volume we can delete the application which is using
|
4. for deprovisioning the volume we can delete the application which is using
|
||||||
the volume and then we can go ahead and delete the pv, as part of deletion of
|
the volume and then we can go ahead and delete the pv, as part of deletion of
|
||||||
pv this volume will also be deleted from the ZFS pool and data will be free.
|
pv this volume will also be deleted from the ZFS pool and data will be freed.
|
||||||
|
|
||||||
|
### Supported System
|
||||||
|
|
||||||
|
K8S : 1.14+
|
||||||
|
OS : ubuntu 18.04
|
||||||
|
ZFS : 0.7, 0.8
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
# volume-mgmt releases.
|
# volume-mgmt releases.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM ubuntu:16.04
|
FROM ubuntu:18.04
|
||||||
RUN apt-get update; exit 0
|
RUN apt-get update; exit 0
|
||||||
RUN apt-get -y install rsyslog
|
RUN apt-get -y install rsyslog libssl-dev
|
||||||
#RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
#RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY zfs-driver /usr/local/bin/
|
COPY zfs-driver /usr/local/bin/
|
||||||
|
|
|
||||||
|
|
@ -398,15 +398,15 @@ spec:
|
||||||
mountPath: /dev
|
mountPath: /dev
|
||||||
- name: zfs-bin
|
- name: zfs-bin
|
||||||
mountPath: /sbin/zfs
|
mountPath: /sbin/zfs
|
||||||
- name: lib1
|
- name: libzpool
|
||||||
mountPath: /lib/libzpool.so.2
|
mountPath: /lib/libzpool.so.2
|
||||||
- name: lib2
|
- name: libzfscore
|
||||||
mountPath: /lib/libzfs_core.so.1
|
mountPath: /lib/libzfs_core.so.1
|
||||||
- name: lib3
|
- name: libzfs
|
||||||
mountPath: /lib/libzfs.so.2
|
mountPath: /lib/libzfs.so.2
|
||||||
- name: lib4
|
- name: libuutil
|
||||||
mountPath: /lib/libuutil.so.1
|
mountPath: /lib/libuutil.so.1
|
||||||
- name: lib5
|
- name: libnvpair
|
||||||
mountPath: /lib/libnvpair.so.1
|
mountPath: /lib/libnvpair.so.1
|
||||||
- name: pods-mount-dir
|
- name: pods-mount-dir
|
||||||
mountPath: /var/lib/kubelet/pods
|
mountPath: /var/lib/kubelet/pods
|
||||||
|
|
@ -421,27 +421,21 @@ spec:
|
||||||
- name: zfs-bin
|
- name: zfs-bin
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /sbin/zfs
|
path: /sbin/zfs
|
||||||
type: File
|
- name: libzpool
|
||||||
- name: lib1
|
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /lib/libzpool.so.2.0.0
|
path: /lib/libzpool.so.2.0.0
|
||||||
type: File
|
- name: libzfscore
|
||||||
- name: lib2
|
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /lib/libzfs_core.so.1.0.0
|
path: /lib/libzfs_core.so.1.0.0
|
||||||
type: File
|
- name: libzfs
|
||||||
- name: lib3
|
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /lib/libzfs.so.2.0.0
|
path: /lib/libzfs.so.2.0.0
|
||||||
type: File
|
- name: libuutil
|
||||||
- name: lib4
|
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /lib/libuutil.so.1.0.1
|
path: /lib/libuutil.so.1.0.1
|
||||||
type: File
|
- name: libnvpair
|
||||||
- name: lib5
|
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /lib/libnvpair.so.1.0.1
|
path: /lib/libnvpair.so.1.0.1
|
||||||
type: File
|
|
||||||
- name: registration-dir
|
- name: registration-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/kubelet/plugins_registry/
|
path: /var/lib/kubelet/plugins_registry/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue