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:40 UTC
[dolphinscheduler-operator] 03/44: Update README.md
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 9b7aa272369be5ee5c0d0c96c2b625bbc62b81fd
Author: nobolity <no...@users.noreply.github.com>
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
![image](https://user-images.githubusercontent.com/7134124/170439546-87cce0df-6cb4-4ab1-bb01-9200309efe45.png)
-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
+
+ ![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/
+
+ ## 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"*
+
+
+