updated for px-dev with -c option

This commit is contained in:
Jeff Silberman 2016-10-05 14:34:25 +02:00
parent 4c5c1cf1a3
commit 2b0ae446f4
3 changed files with 19 additions and 9 deletions

View File

@ -1,6 +1,9 @@
## Cluster Token Needed
Please contact support@portworx.com for a Cluster Token
# [1.0.2-GA Documentation](http://docs.portworx.com)
## Product Documentation
[Portworx Documentation] (http://docs.portworx.com)
This catalog will spin up "px-dev".
There are 2 configuration variables required:
1. **cluster_id**: Arbitrary Cluster ID, common to all nodes in PX cluster. (Can use https://www.uuidgenerator.net for example)
2. **kvdb**: Key-value database that is accessible to all nodes in the PX cluster. (Ex: etcd://10.0.0.42:4001)
For detailed documentation, please visit [docs.portworx.com](http://docs.portworx.com)

View File

@ -9,7 +9,8 @@ portworx:
net: host
privileged: true
environment:
CLUSTER_TOKEN: ${cluster_token}
CLUSTER_ID: ${cluster_id}
KVDB: ${kvdb}
volumes:
- /dev:/dev
- /usr/src:/usr/src
@ -19,4 +20,4 @@ portworx:
- /opt/pwx/bin:/export_bin:shared
- /var/run/docker.sock:/var/run/docker.sock
- /var/cores:/var/cores
command: -t ${cluster_token} -a -f
command: -c ${cluster_id} -k ${kvdb} -a -f

View File

@ -5,9 +5,15 @@
uuid: 352669-pwx-1.0.2
minimum_rancher_version: v0.56.0
questions:
- variable: cluster_token
description: "Cluster Token from Lighthouse"
label: "Cluster Token"
- variable: cluster_id
description: "Arbitrary Cluster ID, common to all nodes in PX cluster "
label: "Cluster ID"
type: "string"
required: true
default: ""
- variable: kvdb
description: "Key-value database, accessibe to all nodes in PX cluster. (Ex: "etcd://10.0.0.42:4001")
label: "Key-Value Database"
type: "string"
required: true
default: ""