Search

Appendix A. Manual Deployment

download PDF
The following section covers the steps required to manually deploy Container-Native Storage.

A.1. Installing the Templates

Execute the following steps to register the Red Hat Gluster Storage and Heketi templates with OpenShift:
  1. Use the newly created containerized Red Hat Gluster Storage project:
    # oc project project_name
    For example,
    # oc project storage-project
    Using project "storage-project" on server "https://master.example.com:8443".
  2. Execute the following commands to install the templates:
    # oc create -f /usr/share/heketi/templates/deploy-heketi-template.yaml
    template "deploy-heketi" created
    # oc create -f /usr/share/heketi/templates/glusterfs-template.yaml
    template "glusterfs" created
    # oc create -f /usr/share/heketi/templates/heketi-service-account.yaml
    serviceaccount  "heketi-service-account" created
    # oc create -f /usr/share/heketi/templates/heketi-template.yaml
    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        2 (2 blank)   3
    glusterfs       GlusterFS DaemonSet template         0 (all set)   1
    heketi          Heketi service deployment template   2 (2 blank)   3
  4. Execute the following command to verify that the serviceaccount is created:
    # oc get serviceaccount heketi-service-account
    For example:
    # oc get serviceaccount heketi-service-account
    NAME                     SECRETS   AGE
    heketi-service-account   2         7d
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.