**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
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
create alert moudle
run “kubectl apply -f alert/” in config/configmap/
create the api moudle
replace the zookooper ip in config/configmap/api/ds-api-deployment.yaml
run “kubectl apply -f api/” in config/configmap/
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"*