Red Hat Training

A Red Hat training course is available for Red Hat Gluster Storage

4.2. Installing the Templates

Execute the following steps to register the Red Hat Gluster Storage and Heketi templates with OpenShift:
  1. 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".
  2. 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
  3. 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