Choose specific host label to deploy the MongoDB cluster..

This commit is contained in:
Martin Evgeniev
2016-05-30 11:03:20 +02:00
parent c0a58df49d
commit 1d858d8f55
3 changed files with 83 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
.catalog:
name: "MongoDB"
version: "3.2-rancher1"
description: "MongoDB Replica Set"
uuid: mongodb-1
minimum_rancher_version: v0.46.0
questions:
- variable: replset_name
description: "Name of the MongoDB replicaSet"
label: "ReplicaSet Name"
type: "string"
required: true
default: "rs0"
- variable: "host_label"
label: "Host Label to MongoDB Tags"
description: |
Comma delimited list of host label to use as MongoDB 'value' tag.
Example: 'database'
required: false
type: "string"
mongo-cluster:
scale: 3
retain_ip: true
metadata:
mongo:
yml:
replset.name: "${replset_name}"