Skip to content

Latest commit

 

History

History
 
 

k8s

Using OpenEBS with K8s

The artifiacts in this repository contain unreleased changes.

If you are looking at deploying from a stable release, please follow the instructions at Quick Start Guide

If this is your first time to Kubernetes, please go through these introductory tutorials:

Usage

Installing Pre-released OpenEBS (at your own risk)

kubectl apply -f openebs-operator.yaml

The following YAML contains configuration that is required by the pre-release-features, that are currently under developement. As we progress towards the release, the content in this will be either moved to openebs-operator.yaml or installed/configured via the code.

kubectl apply -f openebs-pre-release-features.yaml

(Optional) Configuring CStor Pools and Storage Class

With 0.7, node-disk-manager is installed that discovers and create Disk CRs for each non OS disk attached to the nodes. Get the list of disks using kubectl get disks --show-labels and update the Disk CR Names in the openebs-config.yaml. It is recommended to specify one Disk CR per storage node.

kubectl apply -f openebs-config.yaml

(Optional) Enable monitoring using prometheus and grafana

Use this step if you don't already have monitoring services installed on your k8s cluster.

kubectl apply -f openebs-monitoring-pg.yaml

This folder also contains a sample openebs volume monitoring dashboard (openebs-pg-dashboard.json) that can be imported into your grafana.