mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-11 22:10:11 +01:00
feat(zfs-localpv): initial commit
provisioning and deprovisioning of the volumes on the node where zfs pool has already been setup. Pool name and the volume parameters has to be given in storage class which will be used to provision the volume. Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
485e2a21f0
commit
9f5cf445df
46 changed files with 6339 additions and 0 deletions
25
buildscripts/zfs-driver/Dockerfile
Normal file
25
buildscripts/zfs-driver/Dockerfile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#
|
||||
# This Dockerfile builds a recent volume-mgmt using the latest binary from
|
||||
# volume-mgmt releases.
|
||||
#
|
||||
|
||||
FROM ubuntu:16.04
|
||||
RUN apt-get update; exit 0
|
||||
RUN apt-get -y install rsyslog
|
||||
#RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY zfs-driver /usr/local/bin/
|
||||
COPY entrypoint.sh /usr/local/bin/
|
||||
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
ARG BUILD_DATE
|
||||
LABEL org.label-schema.name="zfs-driver"
|
||||
LABEL org.label-schema.description="OpenEBS"
|
||||
LABEL org.label-schema.url="http://www.openebs.io/"
|
||||
LABEL org.label-schema.vcs-url="https://github.com/openebs/zfs-localpv"
|
||||
LABEL org.label-schema.schema-version="1.0"
|
||||
LABEL org.label-schema.build-date=$BUILD_DATE
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/zfs-driver"]
|
||||
EXPOSE 7676 7777
|
||||
Loading…
Add table
Add a link
Reference in a new issue