mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
Whenever a volume is provisioned and de-provisioned we will send a google event with mainly following details : 1. pvName (will shown as app title in google analytics) 2. size of the volume 3. event type : volume-provision, volume-deprovision 4. storage type zfs-localpv 5. replicacount as 1 6. ClientId as default namespace uuid Apart from this, we send the event once in 24 hr, which will have some info like number of nodes, node type, kubernetes version etc. This metric is cotrolled by OPENEBS_IO_ENABLE_ANALYTICS env. We can set it to false if we don't want to send the metrics. Signed-off-by: Pawan <pawan@mayadata.io>
25 lines
752 B
Docker
25 lines
752 B
Docker
#
|
|
# This Dockerfile builds a recent volume-mgmt using the latest binary from
|
|
# volume-mgmt releases.
|
|
#
|
|
|
|
FROM ubuntu:18.04
|
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
RUN apt-get update; exit 0
|
|
RUN apt-get -y install rsyslog libssl-dev xfsprogs ca-certificates
|
|
|
|
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
|