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.Este contenido no está disponible en el idioma seleccionado.
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/templates
Copy 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" created
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Execute the following command to verify that the templates are installed:
oc get templates
# oc get templates
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow