Note: The version of OpenEBS used is v1.15 and that of Rancher is v2.3.3 for this article.
Click on "Global --> Cluster_Name --> Default".
After performing STEP 2, you will be redirected to the dashboard as shown in the image below.
Now, click on Apps --> Launch.
You will be redirected to the catalog page where you need to type "openebs" in search bar present at the top right corner in the same page. Click on openebs-logo as shown in the image below.
Performing STEP 4 will redirect you to Catolog : openebs Dashboard. The default namespace would be openebs. Click on Launch, present at the bottom of the dashboard as shown in the image below.
After STEP 5, openebs files and libraries will start getting installed on your cluster as you can see in the image below.
Go to "Global" view and click on the cluster on which you have installed openebs. You will be redirected to the cluster dashboard where you find "Launch Kubectl" option.
Click on Launch Kubectl. A shell will be opened as a result where you can execute the following command to verify the OpenEBS installation:
$ kubectl get ns
$ kubectl get pods -n openebs
Creating and Attaching Disks
Next, you need to create disk and attach them to the desired VMs. This can be done from the GCP console.
In order to get the detailed steps to create and attach disks in GCP, click the corresponding link:
Provisioning OpenEBS volumes
Next, you have to provision OpenEBS volumes (cStor/Jiva/LocalPV). Going through the following links can help you decide as to which will be best suited for your scenario.
Click here to know about cStor.
Click here to know about Jiva.
Click here to know about LocalPV.
Provisioning an application.
Now, things are all set to deploy an application and get started.
You can refer to the below sample articles for provisioning an application.
1. Sample application for cStor.
2. Sample application for Jiva.
3. Sample application for Local PV.
Backing up Application
It is extremely important to have a data backup and restore mechanism so that the service continues flawlessly in every situation.
Monitoring of stateful applications and OpenEBS volumes
Once the entire thing is set up, volumes are provisioned, the application is deployed it is necessary to monitor these components continuously. Director provides easy and efficient monitoring. To know about how to monitor, different monitoring views click here.
OpenEBS volumes can be deployed on various other Kubernetes Platforms as well, to know about it Click Here.