diff --git a/templates/rexray/0/docker-compose.yml b/templates/rexray/0/docker-compose.yml new file mode 100644 index 0000000..f08975d --- /dev/null +++ b/templates/rexray/0/docker-compose.yml @@ -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 diff --git a/templates/rexray/0/rancher-compose.yml b/templates/rexray/0/rancher-compose.yml new file mode 100644 index 0000000..e07da6e --- /dev/null +++ b/templates/rexray/0/rancher-compose.yml @@ -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 diff --git a/templates/rexray/catalogIcon-rexray.jpg b/templates/rexray/catalogIcon-rexray.jpg new file mode 100644 index 0000000..a372e27 Binary files /dev/null and b/templates/rexray/catalogIcon-rexray.jpg differ diff --git a/templates/rexray/config.yml b/templates/rexray/config.yml new file mode 100644 index 0000000..88df1b9 --- /dev/null +++ b/templates/rexray/config.yml @@ -0,0 +1,5 @@ +name: REX-Ray Volume Plugin +description: | + REX-Ray volume plugin +version: v0.3.2 +category: External Services diff --git a/templates/scaleio/0/docker-compose.yml b/templates/scaleio/0/docker-compose.yml new file mode 100644 index 0000000..d41e128 --- /dev/null +++ b/templates/scaleio/0/docker-compose.yml @@ -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 diff --git a/templates/scaleio/0/rancher-compose.yml b/templates/scaleio/0/rancher-compose.yml new file mode 100644 index 0000000..f534e0a --- /dev/null +++ b/templates/scaleio/0/rancher-compose.yml @@ -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 diff --git a/templates/scaleio/catalogIcon-scaleio.png b/templates/scaleio/catalogIcon-scaleio.png new file mode 100644 index 0000000..1a28614 Binary files /dev/null and b/templates/scaleio/catalogIcon-scaleio.png differ diff --git a/templates/scaleio/config.yml b/templates/scaleio/config.yml new file mode 100644 index 0000000..0b00592 --- /dev/null +++ b/templates/scaleio/config.yml @@ -0,0 +1,5 @@ +name: ScaleIO NAS/DAS Store +description: | + ScaleIO NAS/DAS Store +version: v0.1 +category: External Services