add scaleio and scaleio into rancher community catalog (#199)
This commit is contained in:
parent
3d3355ce0d
commit
4e613657fc
16
templates/rexray/0/docker-compose.yml
Normal file
16
templates/rexray/0/docker-compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
rexray:
|
||||
image: wlan0/sdc2
|
||||
stdin_open: true
|
||||
tty: true
|
||||
privileged: true
|
||||
net: host
|
||||
environment:
|
||||
STACK_NAME: ${SCALEIO_STACK_NAME}
|
||||
SYSTEM_ID: ${SCALEIO_SYSTEM_ID}
|
||||
MDM_IP: ${SCALEIO_MDM_IP}
|
||||
volumes:
|
||||
- /proc:/host/proc
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.container.dns: true
|
||||
io.rancher.scheduler.affinity:host_label: rexray.scaleio=true
|
20
templates/rexray/0/rancher-compose.yml
Normal file
20
templates/rexray/0/rancher-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
.catalog:
|
||||
name: "REX-Ray"
|
||||
version: "v0.3.2"
|
||||
description: "REX-Ray persistent storage"
|
||||
questions:
|
||||
- variable: "SCALEIO_SYSTEM_ID"
|
||||
label: "ScaleIO System ID"
|
||||
description: "ScaleIO System ID"
|
||||
type: "string"
|
||||
required: true
|
||||
- variable: "SCALEIO_STACK_NAME"
|
||||
label: "ScaleIO Stack Name"
|
||||
description: "The name of the stack that is running ScaleIO"
|
||||
type: "string"
|
||||
required: true
|
||||
- variable: "SCALEIO_MDM_IP"
|
||||
label: "ScaleIO Primary MDM IP address"
|
||||
description: "The managed network IP addr of the primary mdm that is running ScaleIO"
|
||||
type: "string"
|
||||
required: true
|
BIN
templates/rexray/catalogIcon-rexray.jpg
Normal file
BIN
templates/rexray/catalogIcon-rexray.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
5
templates/rexray/config.yml
Normal file
5
templates/rexray/config.yml
Normal file
@ -0,0 +1,5 @@
|
||||
name: REX-Ray Volume Plugin
|
||||
description: |
|
||||
REX-Ray volume plugin
|
||||
version: v0.3.2
|
||||
category: External Services
|
42
templates/scaleio/0/docker-compose.yml
Normal file
42
templates/scaleio/0/docker-compose.yml
Normal file
@ -0,0 +1,42 @@
|
||||
tb:
|
||||
privileged: true
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
image: wlan0/tb
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.container.hostname_override: container_name
|
||||
|
||||
sds:
|
||||
privileged: true
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
image: wlan0/sds
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
||||
io.rancher.container.pull_image: always
|
||||
|
||||
mdm:
|
||||
privileged: true
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
- /dev/shm:/dev/shm
|
||||
image: wlan0/mdm
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/primary_mdm
|
||||
io.rancher.container.pull_image: always
|
||||
|
||||
primary-mdm:
|
||||
privileged: true
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
- /dev/shm:/dev/shm
|
||||
image: wlan0/mdm
|
||||
command: /usr/sbin/init
|
||||
entrypoint: /run_mdm_and_configure.sh
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/mdm
|
||||
io.rancher.container.pull_image: always
|
16
templates/scaleio/0/rancher-compose.yml
Normal file
16
templates/scaleio/0/rancher-compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
.catalog:
|
||||
name: "ScaleIO"
|
||||
version: "v0.1"
|
||||
description: "ScaleIO Launcher - with 3 sds, 2 mdms in cluster mode, and 1 tb (NO SDC)"
|
||||
|
||||
tb:
|
||||
scale: 1
|
||||
|
||||
sds:
|
||||
scale: 3
|
||||
|
||||
mdm:
|
||||
scale: 1
|
||||
|
||||
primary-mdm:
|
||||
scale: 1
|
BIN
templates/scaleio/catalogIcon-scaleio.png
Normal file
BIN
templates/scaleio/catalogIcon-scaleio.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
5
templates/scaleio/config.yml
Normal file
5
templates/scaleio/config.yml
Normal file
@ -0,0 +1,5 @@
|
||||
name: ScaleIO NAS/DAS Store
|
||||
description: |
|
||||
ScaleIO NAS/DAS Store
|
||||
version: v0.1
|
||||
category: External Services
|
Loading…
x
Reference in New Issue
Block a user