此内容没有您所选择的语言版本。
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 Using project "storage-project" on server "https://master.example.com:8443".
- Execute the following command to install the templates:
# oc create -f /usr/share/heketi/templates
Example output:template "deploy-heketi" created template "glusterfs" created template "heketi" created
- Execute the following command to verify that the templates are installed:
# oc get templates
For example:# oc get templates NAME DESCRIPTION PARAMETERS OBJECTS deploy-heketi Bootstrap Heketi installation 8 (7 blank) 3 glusterfs GlusterFS container deployment template 1 (1 blank) 1 heketi Heketi service deployment template 8 (7 blank) 3