diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-07-18 17:02:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-18 17:02:26 -0400 |
commit | f1711875170934936895fe24ac1f7ab721608c5a (patch) | |
tree | 0f1b273920d7a543f1f45a4f3d5c402ee1d4c908 /inventory/byo/hosts.byo.glusterfs.registry-only.example | |
parent | 2394c7518aac568ed074d2ea3c2effbb858a7523 (diff) | |
parent | 2a0c64c4174dfcc079254d1fe04125ad6adfe038 (diff) | |
download | openshift-f1711875170934936895fe24ac1f7ab721608c5a.tar.gz openshift-f1711875170934936895fe24ac1f7ab721608c5a.tar.bz2 openshift-f1711875170934936895fe24ac1f7ab721608c5a.tar.xz openshift-f1711875170934936895fe24ac1f7ab721608c5a.zip |
Merge pull request #4769 from jarrpa/glusterfs-fixes-five
GlusterFS fixes 5
Diffstat (limited to 'inventory/byo/hosts.byo.glusterfs.registry-only.example')
-rw-r--r-- | inventory/byo/hosts.byo.glusterfs.registry-only.example | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/inventory/byo/hosts.byo.glusterfs.registry-only.example b/inventory/byo/hosts.byo.glusterfs.registry-only.example new file mode 100644 index 000000000..999518abe --- /dev/null +++ b/inventory/byo/hosts.byo.glusterfs.registry-only.example @@ -0,0 +1,52 @@ +# This is an example of a bring your own (byo) host inventory for a cluster +# with natively hosted, containerized GlusterFS storage for exclusive use +# as storage for a natively hosted Docker registry. +# +# This inventory may be used with the byo/config.yml playbook to deploy a new +# cluster with GlusterFS storage, which will use that storage to create a +# volume that will provide backend storage for a hosted Docker registry. +# +# This inventory may also be used with byo/openshift-glusterfs/registry.yml to +# deploy GlusterFS storage on an existing cluster. With this playbook, the +# registry backend volume will be created but the administrator must then +# either deploy a hosted registry or change an existing hosted registry to use +# that volume. +# +# There are additional configuration parameters that can be specified to +# control the deployment and state of a GlusterFS cluster. Please see the +# documentation in playbooks/byo/openshift-glusterfs/README.md and +# roles/openshift_storage_glusterfs/README.md for additional details. + +[OSEv3:children] +masters +nodes +# Specify there will be GlusterFS nodes +glusterfs_registry + +[OSEv3:vars] +ansible_ssh_user=root +openshift_deployment_type=origin +# Specify that we want to use GlusterFS storage for a hosted registry +openshift_hosted_registry_storage_kind=glusterfs + +[masters] +master node=True storage=True master=True + +[nodes] +master node=True storage=True master=True openshift_schedulable=False +# A hosted registry, by default, will only be deployed on nodes labeled +# "region=infra". +node0 node=True openshift_node_labels="{'region': 'infra'}" openshift_schedulable=True +node1 node=True openshift_node_labels="{'region': 'infra'}" openshift_schedulable=True +node2 node=True openshift_node_labels="{'region': 'infra'}" openshift_schedulable=True + +# Specify the glusterfs group, which contains the nodes that will host +# GlusterFS storage pods. At a minimum, each node must have a +# "glusterfs_devices" variable defined. This variable is a list of block +# devices the node will have access to that is intended solely for use as +# GlusterFS storage. These block devices must be bare (e.g. have no data, not +# be marked as LVM PVs), and will be formatted. +[glusterfs_registry] +node0 glusterfs_devices='[ "/dev/vdb", "/dev/vdc", "/dev/vdd" ]' +node1 glusterfs_devices='[ "/dev/vdb", "/dev/vdc", "/dev/vdd" ]' +node2 glusterfs_devices='[ "/dev/vdb", "/dev/vdc", "/dev/vdd" ]' |