Update Portworx to support CoreOS (#427)
This commit is contained in:
parent
3eed8090d3
commit
1736fe94a7
@ -1,9 +1,15 @@
|
|||||||
# [1.1.2-GA Documentation](http://docs.portworx.com)
|
# [1.1.6-GA Documentation](http://docs.portworx.com)
|
||||||
|
|
||||||
This catalog will spin up Portworx on your hosts.
|
This catalog will spin up Portworx on your hosts.
|
||||||
There are 2 configuration variables required:
|
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)
|
1. **cluster_id**: Arbitrary Cluster ID, common to all nodes in PX cluster. (Can use https://www.uuidgenerator.net for example)
|
||||||
2. **kvdb**: A Key-value database that is accessible to all nodes in the PX cluster. (Ex: etcd://10.0.0.42:4001)
|
2. **kvdb**: A Key-value database that is accessible to all nodes in the PX cluster. (Ex: etcd://10.0.0.42:4001)
|
||||||
|
3. **header_dir**: The directory where kernel headers can be found. Default is "/usr/src". For CoreOS use "/lib/modules"
|
||||||
|
4. **use_disks**: The list of devices to use as part of the cluster fabric. (Ex: '-a' for all disks, or '-s /dev/sdX' for each individual disk)
|
||||||
|
|
||||||
|
**NOTE**: px-dev requires at least one non-root disk be attached to the running image (i.e local disk or iscsi).
|
||||||
|
|
||||||
|
**NOTE**: If using Docker prior to 1.12, then you **MUST** remove 'MOUNT=shared' from the docker.service file and restart the docker service.
|
||||||
|
|
||||||
For detailed documentation, please visit [docs.portworx.com](http://docs.portworx.com)
|
For detailed documentation, please visit [docs.portworx.com](http://docs.portworx.com)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ portworx:
|
|||||||
io.rancher.container.create_agent: 'true'
|
io.rancher.container.create_agent: 'true'
|
||||||
io.rancher.scheduler.global: 'true'
|
io.rancher.scheduler.global: 'true'
|
||||||
io.rancher.container.pull_image: 'always'
|
io.rancher.container.pull_image: 'always'
|
||||||
image: portworx/px-dev
|
image: portworx/px-dev:edge
|
||||||
container_name: px
|
container_name: px
|
||||||
ipc: host
|
ipc: host
|
||||||
net: host
|
net: host
|
||||||
@ -11,13 +11,15 @@ portworx:
|
|||||||
environment:
|
environment:
|
||||||
CLUSTER_ID: ${cluster_id}
|
CLUSTER_ID: ${cluster_id}
|
||||||
KVDB: ${kvdb}
|
KVDB: ${kvdb}
|
||||||
|
HDR_DIR: ${header_dir}
|
||||||
|
USE_DISKS: ${use_disks}
|
||||||
volumes:
|
volumes:
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /usr/src:/usr/src
|
- ${header_dir}:${header_dir}
|
||||||
- /run/docker/plugins:/run/docker/plugins
|
- /run/docker/plugins:/run/docker/plugins
|
||||||
- /var/lib/osd:/var/lib/osd:shared
|
- /var/lib/osd:/var/lib/osd:shared
|
||||||
- /etc/pwx:/etc/pwx
|
- /etc/pwx:/etc/pwx
|
||||||
- /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: -c ${cluster_id} -k ${kvdb} -a -z -f
|
command: -c ${cluster_id} -k ${kvdb} ${use_disks}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
.catalog:
|
.catalog:
|
||||||
name: "Portworx"
|
name: "Portworx"
|
||||||
version: "1.1.2-2017-01-06-GA"
|
version: "1.1.6-2017-02-08-GA"
|
||||||
description: "Container Defined Storage for Docker"
|
description: "Container Defined Storage for Docker"
|
||||||
uuid: 352669-pwx-1.1.2
|
uuid: 352669-pwx-1.1.6
|
||||||
minimum_rancher_version: v0.56.0
|
minimum_rancher_version: v0.56.0
|
||||||
questions:
|
questions:
|
||||||
- variable: cluster_id
|
- variable: cluster_id
|
||||||
@ -17,3 +17,15 @@
|
|||||||
type: "string"
|
type: "string"
|
||||||
required: true
|
required: true
|
||||||
default: ""
|
default: ""
|
||||||
|
- variable: use_disks
|
||||||
|
description: "Cmdline args for disks to use. Ex: '-a' for all available, or '-s /dev/sdX' for each individual disk"
|
||||||
|
label: "Use Disks"
|
||||||
|
type: "string"
|
||||||
|
required: true
|
||||||
|
default: "-s /dev/xvdb"
|
||||||
|
- variable: header_dir
|
||||||
|
description: "Directory where kernel headers can be found. Default is '/usr/src'. For CoreOS use '/lib/modules'"
|
||||||
|
label: "Headers Directory"
|
||||||
|
type: "string"
|
||||||
|
required: true
|
||||||
|
default: "/usr/src"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: px-dev
|
name: px-dev
|
||||||
description: |
|
description: |
|
||||||
Software defined enterprise storage for Linux Containers.
|
Software defined enterprise storage for Linux Containers.
|
||||||
version: 1.1.2-2017-01-06-GA
|
version: 1.1.6-2017-02-08-GA
|
||||||
category: Storage
|
category: Storage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user