updated for px-dev with -c option
This commit is contained in:
parent
4c5c1cf1a3
commit
2b0ae446f4
@ -1,6 +1,9 @@
|
|||||||
## Cluster Token Needed
|
# [1.0.2-GA Documentation](http://docs.portworx.com)
|
||||||
Please contact support@portworx.com for a Cluster Token
|
|
||||||
|
|
||||||
## Product Documentation
|
This catalog will spin up "px-dev".
|
||||||
[Portworx Documentation] (http://docs.portworx.com)
|
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)
|
||||||
|
|
||||||
|
@ -9,7 +9,8 @@ portworx:
|
|||||||
net: host
|
net: host
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
CLUSTER_TOKEN: ${cluster_token}
|
CLUSTER_ID: ${cluster_id}
|
||||||
|
KVDB: ${kvdb}
|
||||||
volumes:
|
volumes:
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /usr/src:/usr/src
|
- /usr/src:/usr/src
|
||||||
@ -19,4 +20,4 @@ portworx:
|
|||||||
- /opt/pwx/bin:/export_bin:shared
|
- /opt/pwx/bin:/export_bin:shared
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /var/cores:/var/cores
|
- /var/cores:/var/cores
|
||||||
command: -t ${cluster_token} -a -f
|
command: -c ${cluster_id} -k ${kvdb} -a -f
|
||||||
|
@ -5,9 +5,15 @@
|
|||||||
uuid: 352669-pwx-1.0.2
|
uuid: 352669-pwx-1.0.2
|
||||||
minimum_rancher_version: v0.56.0
|
minimum_rancher_version: v0.56.0
|
||||||
questions:
|
questions:
|
||||||
- variable: cluster_token
|
- variable: cluster_id
|
||||||
description: "Cluster Token from Lighthouse"
|
description: "Arbitrary Cluster ID, common to all nodes in PX cluster "
|
||||||
label: "Cluster Token"
|
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"
|
type: "string"
|
||||||
required: true
|
required: true
|
||||||
default: ""
|
default: ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user