From 8f3902a8bfb883faa03422a827819651d132a81d Mon Sep 17 00:00:00 2001 From: Mingchen Dai Date: Tue, 17 Sep 2024 11:00:02 +0000 Subject: [PATCH] Updated Quickstart Doc --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index fe5e910..80a4f4e 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,29 @@ DevStar DevContainer CRD 脚手架工程 - docker version 17.03+. - kubectl version v1.11.3+. - Access to a Kubernetes v1.11.3+ cluster. +- OpenEBS + +### 使用 Helm Chart 安装 OpenEBS + +DevStar DevContainer 需要 [OpenEBS](https://openebs.io/) 进行动态存储分配 + +```bash +helm repo add openebs https://openebs.github.io/openebs +helm repo update +helm install openebs --namespace openebs openebs/openebs --create-namespace + +helm ls -n openebs +# NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION +# openebs openebs 1 2024-09-13 02:18:28.88814725 +0000 UTC deployed openebs-4.1.0 4.1.0 + +kubectl get sc +# NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE +# mayastor-etcd-localpv openebs.io/local Delete WaitForFirstConsumer false 3m48s +# mayastor-loki-localpv openebs.io/local Delete WaitForFirstConsumer false 3m48s +# openebs-hostpath openebs.io/local Delete WaitForFirstConsumer false 3m48s +# openebs-single-replica io.openebs.csi-mayastor Delete Immediate true 3m48s +# standard (default) k8s.io/minikube-hostpath Delete Immediate false 8d +``` ### To Deploy on the cluster **Build and push your image to the location specified by `IMG`:**