!1 可通过 YAML 创建 CRD DevcontainerApp (StatefulSet + NodePort_Service)

* 优化 DevcontainerApp Reconciler 逻辑
* Added Readiness Probing
* Updated port num validation
* Updated Quickstart Doc
* Replaced Nginx Ingress Controller with NodePort Service
* Updated resource creation:
* Added resource creation
* Added .editorconfig
This commit is contained in:
戴明辰
2024-09-25 01:51:11 +00:00
parent 5c990464ee
commit c10befe9f8
11 changed files with 494 additions and 61 deletions

View File

@@ -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`:**