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.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 Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
Execute the following steps to register the Red Hat Gluster Storage and Heketi templates with OpenShift:
- Use the newly created containerized Red Hat Gluster Storage project:
oc project project_name
# oc project project_name
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example,oc project storage-project
# oc project storage-project Using project "storage-project" on server "https://master.example.com:8443".
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Execute the following commands to install the templates:
oc create -f /usr/share/heketi/templates/deploy-heketi-template.yaml
# oc create -f /usr/share/heketi/templates/deploy-heketi-template.yaml template "deploy-heketi" created
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc create -f /usr/share/heketi/templates/glusterfs-template.yaml
# oc create -f /usr/share/heketi/templates/glusterfs-template.yaml template "glusterfs" created
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc create -f /usr/share/heketi/templates/heketi-service-account.yaml
# oc create -f /usr/share/heketi/templates/heketi-service-account.yaml serviceaccount "heketi-service-account" created
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc create -f /usr/share/heketi/templates/heketi-template.yaml
# oc create -f /usr/share/heketi/templates/heketi-template.yaml 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 - Execute the following command to verify that the serviceaccount is created:
oc get serviceaccount heketi-service-account
# oc get serviceaccount heketi-service-account
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:oc get serviceaccount heketi-service-account
# oc get serviceaccount heketi-service-account NAME SECRETS AGE heketi-service-account 2 7d
Copy to Clipboard Copied! Toggle word wrap Toggle overflow