This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.Ce contenu n'est pas disponible dans la langue sélectionnée.
4.2. Installing the Templates
Execute the following steps to register the Red Hat Gluster Storage and Heketi templates with OpenShift:
- Ensure you are in the newly created containerized Red Hat Gluster Storage project:
oc project
# oc project Using project "storage-project" on server "https://master.example.com:8443".Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Execute the following command to install the templates:
oc create -f /usr/share/heketi/templates
# oc create -f /usr/share/heketi/templatesCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example output:template "deploy-heketi" created template "glusterfs" created template "heketi" created
template "deploy-heketi" created template "glusterfs" created template "heketi" createdCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Execute the following command to verify that the templates are installed:
oc get templates
# oc get templatesCopy to Clipboard Copied! Toggle word wrap Toggle overflow For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow