You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ch...@apache.org on 2022/09/20 03:43:52 UTC
[dolphinscheduler-operator] 15/44: fix(CRD): check the logicCode
This is an automated email from the ASF dual-hosted git repository.
chufenggao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-operator.git
commit 4bf87c8e5de4acb2eeff5461eb33597d16c83b5c
Author: nobolity <no...@gmail.com>
AuthorDate: Wed Jun 1 11:25:04 2022 +0800
fix(CRD): check the logicCode
---
README.md | 48 +++++++++++++-----------------------------------
1 file changed, 13 insertions(+), 35 deletions(-)
diff --git a/README.md b/README.md
index d30238f..34c6144 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@
2. **install postgres (not required)**
- if had no postgressql ,you can turn into config/configmap and run *kubectl apply -f postgreSQL/*
+ if had no postgressql ,you can turn into config/ds/ and run *"kubectl apply -f postgreSQL/"*
connect to postgressql and run the sql script in dolphinscheduler/dolphinscheduler-dao/resources/sql
@@ -35,42 +35,16 @@
![image](https://user-images.githubusercontent.com/7134124/170439546-87cce0df-6cb4-4ab1-bb01-9200309efe45.png)
-3. **install zookeeper(not required) **
+3. **install zookeeper(not required)**
- if had no zookeeper ,the doployment file is in config/configmap/zookeeper ,run *"kubectl apply -f zookeeper/"* and record the ip ,eg :172.17.0.4
+ if had no zookeeper ,the doployment file is in config/ds/zookeeper ,run *"kubectl apply -f zookeeper/"* and record the ip ,eg :172.17.0.4
-4. **create and merge the configmaps**
-
- replace the postgressql ip in application.yaml
-
- there are four application.yaml that needed to merge in the following locations:
-
- config/configmap/alert
- config/configmap/api
- config/configmap/master
- config/configmap/worker
-
- run *"kubectl create cm ds-${name}-config --from-file=application.yaml -n ds"* in these document
-
- the result is
-
- ![image](https://user-images.githubusercontent.com/7134124/170443875-217e12e6-d50d-4ef2-b3ac-b81f4d5a7666.png)
-
-5. **create alert moudle**
-
- run *"kubectl apply -f alert/"* in config/configmap/
-6. **create the api moudle**
-
- replace the zookooper ip in config/configmap/api/ds-api-deployment.yaml
-
- run *"kubectl apply -f api/"* in config/configmap/
-
-7. **create pv and pvc (not required)**
+4 **create pv and pvc (not required)**
if you had pv and pvc ,you can config it in config/sameples
- or you can create it with config/configmap/ds-pv.yaml and config/configmap/ds-pvc.yaml
+ or you can create it with config/ds/ds-pv.yaml and config/configmap/ds-pvc.yaml
and you can mount the lib in dolphinscheduler /opt/soft in config/samples/ds_v1alpha1_dsworker.yaml with paramter named lib_pvc_name
@@ -78,11 +52,15 @@
## how to test
- in current project run *"make manifests && make install && make run"*
+ * in current project run *"make build&&make manifests && make install && make run"*
+
+ * cd to config/ds
+
+ * first run *"kubectl apply -f ds_v1alpha1_dsalert.yaml "*
+
+ * then run *"kubectl apply -f ds_v1alpha1_api.yaml -f ds_v1alpha1_dsmaster.yaml -f ds_v1alpha1_dsworker.yaml "*
+
- in config/confgimap ,merge the *"zookeeper_connect"* with the zookeeper ip in two files .or other paramters ,all the paramters you can find in api/v1alpha1/ds${crdname}_types.go
-
- run *"kubectl apply -f samples"*