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 9b7aa272369be5ee5c0d0c96c2b625bbc62b81fd Author: nobolity <[email protected]> AuthorDate: Thu May 26 16:14:42 2022 +0800 Update README.md --- README.md | 51 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 46 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 96e95e1..2cae094 100644 --- a/README.md +++ b/README.md @@ -15,18 +15,59 @@ **kubebuilder version:** *3.3.0* +**kubectl version:** *1.23.1* + ## Get Started -1. create namespace ds +1. **create namespace ds** -2. install postgres (not required) +2. **install postgres (not required)** if had no postgressql ,you can turn into config/configmap and run *kubectl apply -f postgreSQL/* connect to postgressql and run the sql script in dolphinscheduler/dolphinscheduler-dao/resources/sql - record the deployment ip 172.17.0.3 + record the deployment ip eg: 172.17.0.3  -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 +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 + +4. **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/ + + ## how to test + + in current project run *"make manifests && make install && make run"* + + 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"* + + +
