Difficulty: Beginner
Estimated Time: 3-5 minutes

Welcome to your first OpenEBS Scenario!

In this scenario you will learn how to provide persistent storage for stateful application on Kubernetes.

Now click on Start Scenario to get started!

Note: There are few ways to install OpenEBS. In this scenario we will install OpenEBS and demo workloads from OpenEBS GitHub repo. You can also install OpenEBS using Helm charts. Please visit http://openebs.readthedocs.io/en/latest/getting_started/quick_install.html for environment requirements and additional instructions.

You've completed your first OpenEBS scenario!

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Getting started with OpenEBS

Step 1 of 3

Install OpenEBS

Getting started with OpenEBS on your Kubernetes cluster is easy.

Before we start, make sure that your K8s master node is functional by confirming the node status:

kubectl get nodes

Wait until you see Ready under STATUS field before you go to the next step.

1) Clone the OpenEBS repo from github:

git clone https://github.com/openebs/openebs.git && cd openebs/k8s

2) Use the following command to apply OpenEBS operators:

kubectl apply -f openebs-operator.yaml

Congratulations!!! The OpenEBS has been installed.

3) Check its status by running:

kubectl get pods -l "name=maya-apiserver"

Optional: 4) Use the following command to apply predefined OpenEBS storage classes:

kubectl apply -f openebs-storageclasses.yaml

5) Check available storage classes by running:

kubectl get sc