Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(zfspv): not able to deploy on rancher with ZFS 0.8. #4

Merged
merged 1 commit into from
Sep 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
4 changes: 2 additions & 2 deletions buildscripts/zfs-driver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# volume-mgmt releases.
#

FROM ubuntu:16.04
FROM ubuntu:18.04
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/*

COPY zfs-driver /usr/local/bin/
Expand Down
26 changes: 10 additions & 16 deletions deploy/zfs-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398,15 +398,15 @@ spec:
mountPath: /dev
- name: zfs-bin
mountPath: /sbin/zfs
- name: lib1
- name: libzpool
mountPath: /lib/libzpool.so.2
- name: lib2
- name: libzfscore
mountPath: /lib/libzfs_core.so.1
- name: lib3
- name: libzfs
mountPath: /lib/libzfs.so.2
- name: lib4
- name: libuutil
mountPath: /lib/libuutil.so.1
- name: lib5
- name: libnvpair
mountPath: /lib/libnvpair.so.1
- name: pods-mount-dir
mountPath: /var/lib/kubelet/pods
Expand All @@ -421,27 +421,21 @@ spec:
- name: zfs-bin
hostPath:
path: /sbin/zfs
type: File
- name: lib1
- name: libzpool
hostPath:
path: /lib/libzpool.so.2.0.0
type: File
- name: lib2
- name: libzfscore
hostPath:
path: /lib/libzfs_core.so.1.0.0
type: File
- name: lib3
- name: libzfs
hostPath:
path: /lib/libzfs.so.2.0.0
type: File
- name: lib4
- name: libuutil
hostPath:
path: /lib/libuutil.so.1.0.1
type: File
- name: lib5
- name: libnvpair
hostPath:
path: /lib/libnvpair.so.1.0.1
type: File
- name: registration-dir
hostPath:
path: /var/lib/kubelet/plugins_registry/
Expand Down