diff options
author | Russell Teague <rteague@redhat.com> | 2017-12-08 08:42:32 -0500 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-12-08 15:55:25 -0500 |
commit | 2bf65cdab4aa88f160d005d3b7649b22a6dceba8 (patch) | |
tree | adae4f2b0e6bf75a63175a2371470789c22f0df0 /inventory/hosts.glusterfs.native.example | |
parent | c0f7152a51c6306340f9634f191e81d4322d1b52 (diff) | |
download | openshift-2bf65cdab4aa88f160d005d3b7649b22a6dceba8.tar.gz openshift-2bf65cdab4aa88f160d005d3b7649b22a6dceba8.tar.bz2 openshift-2bf65cdab4aa88f160d005d3b7649b22a6dceba8.tar.xz openshift-2bf65cdab4aa88f160d005d3b7649b22a6dceba8.zip |
Cleanup byo references
Diffstat (limited to 'inventory/hosts.glusterfs.native.example')
-rw-r--r-- | inventory/hosts.glusterfs.native.example | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/inventory/hosts.glusterfs.native.example b/inventory/hosts.glusterfs.native.example new file mode 100644 index 000000000..59acf1194 --- /dev/null +++ b/inventory/hosts.glusterfs.native.example @@ -0,0 +1,50 @@ +# This is an example of an OpenShift-Ansible host inventory for a cluster +# with natively hosted, containerized GlusterFS storage for applications. It +# will also automatically create a StorageClass for this purpose. +# +# This inventory may be used with the deploy_cluster.yml playbook to deploy a new +# cluster with GlusterFS storage. +# +# This inventory may also be used with openshift-glusterfs/config.yml to +# deploy GlusterFS storage on an existing cluster. +# +# 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/openshift-glusterfs/README.md and +# roles/openshift_storage_glusterfs/README.md for additional details. + +[OSEv3:children] +masters +nodes +etcd +# Specify there will be GlusterFS nodes +glusterfs + +[OSEv3:vars] +ansible_ssh_user=root +openshift_deployment_type=origin + +[masters] +master + +[nodes] +master openshift_schedulable=False +# A hosted registry, by default, will only be deployed on nodes labeled +# "region=infra". +node0 openshift_schedulable=True +node1 openshift_schedulable=True +node2 openshift_schedulable=True + +[etcd] +master + +# 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] +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" ]' |