This is an automated email from the ASF dual-hosted git repository. kezhenxu94 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-operator.git
commit 4bf87c8e5de4acb2eeff5461eb33597d16c83b5c Author: nobolity <[email protected]> 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 @@  -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 - -  - -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"*
