add convoy-gluster

This commit is contained in:
LLParse
2016-03-25 09:16:06 -07:00
parent 4ba17efe58
commit 003dcd57b5
6 changed files with 383 additions and 0 deletions
@@ -0,0 +1,23 @@
convoy-gluster:
labels:
io.rancher.container.create_agent: 'true'
io.rancher.scheduler.global: 'true'
privileged: true
pid: host
volumes:
- /lib/modules:/lib/modules:ro
- /proc:/host/proc
- /var/run:/host/var/run
- /etc/docker/plugins:/etc/docker/plugins
external_links:
- "${GLUSTERFS_SERVICE}:glusterfs"
image: rancher/convoy-agent:v0.3.0
command: volume-agent-glusterfs
convoy-gluster-storagepool:
labels:
io.rancher.container.create_agent: 'true'
volumes:
- /var/run:/host/var/run
image: rancher/convoy-agent:v0.3.0
command: storagepool-agent
@@ -0,0 +1,37 @@
.catalog:
name: "Convoy GlusterFS"
version: "v0.2"
description: "Convoy GlusterFS - Docker volume plugin"
questions:
- variable: "VOLUME_POOL"
description: "Name of the GlusterFS Volume"
label: "GlusterFS Volume"
required: true
type: "string"
default: my_vol
- variable: "GLUSTERFS_SERVICE"
label: "GlusterFS Service"
type: "service"
required: true
description: Service that is running GlusterFS
convoy-gluster:
metadata:
volume_pool: "${VOLUME_POOL}"
health_check:
request_line: GET /healthcheck HTTP/1.0
port: 10241
interval: 2000
response_timeout: 2000
unhealthy_threshold: 3
healthy_threshold: 2
convoy-gluster-storagepool:
scale: 1
health_check:
request_line: GET /healthcheck HTTP/1.0
port: 10241
interval: 2000
response_timeout: 2000
unhealthy_threshold: 3
healthy_threshold: 2