Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Appendix A. Manual Deployment


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
    Copy to Clipboard Toggle word wrap
    For example,
    # oc project storage-project
    Using project "storage-project" on server "https://master.example.com:8443".
    Copy to Clipboard Toggle word wrap
  2. Execute the following commands to install the templates:
    # oc create -f /usr/share/heketi/templates/deploy-heketi-template.yaml
    template "deploy-heketi" created
    Copy to Clipboard Toggle word wrap
    # oc create -f /usr/share/heketi/templates/glusterfs-template.yaml
    template "glusterfs" created
    Copy to Clipboard Toggle word wrap
    # oc create -f /usr/share/heketi/templates/heketi-service-account.yaml
    serviceaccount  "heketi-service-account" created
    Copy to Clipboard Toggle word wrap
    # oc create -f /usr/share/heketi/templates/heketi-template.yaml
    template "heketi" created
    Copy to Clipboard Toggle word wrap
  3. Execute the following command to verify that the templates are installed:
    # oc get templates
    Copy to Clipboard Toggle word wrap
    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
    Copy to Clipboard Toggle word wrap
  4. Execute the following command to verify that the serviceaccount is created:
    # oc get serviceaccount heketi-service-account
    Copy to Clipboard Toggle word wrap
    For example:
    # oc get serviceaccount heketi-service-account
    NAME                     SECRETS   AGE
    heketi-service-account   2         7d
    Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat