Giter Club home page Giter Club logo

glusterfs-volume's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

glusterfs-volume's Issues

initial feedback from test of chrisbecke/glusterfs-volume from dockerhub

Hi,

Thanks for putting the version up in the docker registry.

To install i did the following

sudo docker plugin install --alias gluster-vol1 chrisbecke/glusterfs-volume GFS_VOLUME=gluster-vol1 GFS_SERVERS=docker01.mydomain.com,docker02.mydomain.com,mydomain.alexbal.com

I tested by changing a pre-existing stack to use this driver. This is the stack for reference. Its my most complex one and the one where it doesn't matter if the data gets lost :-) i left old mounts in but commented out for reference. to be clear i didn't copy data over from old location to new location

version: "3"
services:
  up_influxdb:
#    container_name: up_influxdb
#    restart: unless-stopped
    image: influxdb:1.8
    ports:
      - '8086:8086'
    volumes:
#      - /mnt/iscsi/docker/up_influxdb:/var/lib/influxdb
      - data:/var/lib/influxdb
    environment:
      - INFLUXDB_DB=unifi
      - INFLUXDB_ADMIN_USER=unifi
      - INFLUXDB_ADMIN_PASSWORD=unifi
    deploy:
      mode: replicated
      replicas: 1
      placement:
        constraints: [node.role == manager]

  up_grafana:
#    container_name: up_grafana
    image: grafana/grafana
#    restart: unless-stopped
    ports:
      - '3000:3000'
    volumes:
    #  - /mnt/iscsi/docker/up_grafana:/var/lib/grafana
      - data:/var/lib/grafana  
      - /mnt/iscsi/docker/gf_provsioning:/etc/grafana/provisioning
    depends_on:
      - influxdb
    environment:
      - GF_SECURITY_ADMIN_USER=admin
      - GF_INSTALL_PLUGINS=grafana-clock-panel,natel-discrete-panel,grafana-piechart-panel
      - UP_INFLUXDB_URL=http://{{.Node.Hostname}}.mydomain.com:8086

    deploy:
      mode: replicated
      replicas: 1
      placement:
        constraints: [node.role == manager]

  un-poller:
#    container_name: up-poller
#    restart: unless-stopped
    image: golift/unifi-poller:latest
    depends_on:
      - influxdb
      - grafana
    environment:
      - UP_UNIFI_DEFAULT_URL=https://192.168.1.1
      - UP_UNIFI_DEFAULT_USER=<redacted>
      - UP_UNIFI_DEFAULT_PASS=<redacted>
      - UP_UNIFI_DEFAULT_SAVE_SITES=true
      - UP_UNIFI_DEFAULT_SITE_0=default
      - UP_INFLUXDB_URL=http://{{.Node.Hostname}}.mydomain.com:8086
    volumes:
      - data:/config
    deploy:
      mode: replicated
      replicas: 1
      placement:
        constraints: [node.role == manager]

volumes:
  data:
    driver: gluster-vol1

tl;dr it worked - the dir didn't exist and it was created with stackname_data
the only thing i can think of that would improve this aspect is it possibly creating one of the following structures instead of munging every services data into one folder

  1. stackname_data\servicename
  2. stackname_service_data
  3. other logical variations on this theme as you see fit.

second issue:
the driver didnt show up here, not sure why, this would give folks ability to create volumes as they see fit, if needed
image

but overall it seems to work, first time!

conversation about the containers

I note the base gluster/glusterfs-client is 3 years old, do you think that matters.
Also my initial reaction was the plugin container was a little large at 277MB.
Also that base container only has x64 architecture

I am happy to try and contribute and:

  1. look at size (It terms of size it maybe this is just is what it is)
  2. see if there is reasonable approach to multi-arch
    (i would do this by shifting to debian as base container and installing glusterfs-client stable package)

I have done this before, i have a variety of simple approaches to multiarch and can either do it by client side scripts on the build machine or via github actions. Let me know if you are interested.

My 'portfolio'
https://hub.docker.com/u/scyto/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.