commit | 7a1abfbe1a8e680c97aef6cb0dad9d03deebc5b0 | [log] [tgz] |
---|---|---|
author | Eric Gao <ericgao.apache@gmail.com> | Tue Sep 20 11:43:33 2022 +0800 |
committer | GitHub <noreply@github.com> | Tue Sep 20 11:43:33 2022 +0800 |
tree | 2d96f3c9bbf452e6be61c5a456c31ef9219fe80d | |
parent | c124cec509644caace139340e29849c1e877b0d9 [diff] | |
parent | 4c245933bf7178daba29bf8efe3dfe01e9f605df [diff] |
Merge pull request #3 from caishunfeng/fix/readme Fix README and add log
Project status: alpha1
Current API version: v1alpha1
ds
kubectl create namespace ds
If you don't have a running database, you can run
kubectl apply -f config/ds/postgreSQL
to create a demo database, note that this is only for demonstration, DO NOT use it in production environment. You need to replace the hostPath.path
in postgres-pv.yaml
if you don't have a directory /var/lib/data
.
Connect to PostgreSQL and initialize the database schema by executing dolphinscheduler/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql
.
If you don't have a running zookeeper, the demo doployment file is in config/ds/zookeeper
,
kubectl apply -f config/ds/zookeeper
If you have pv and pvc, you can config it in config/sameples
.
Or you can create it with config/ds/ds-pv.yaml
and config/ds/ds-pvc.yaml
. Notice to replace the hostPath.path
in ds-pv.yaml
.
And you can mount the lib in dolphinscheduler /opt/soft
in config/samples/ds_v1alpha1_dsworker.yaml with paramter named lib_pvc_name
Mount the logs in /opt/dolphinscheduler/logs
with the pvcname named log_pvc_name
.
kubectl get dsworkers.ds.apache.dolphinscheduler.dev -n ds
kubectl explain dsmaster
Replace the database config and zookeeper config paramters in config/samples/
.
Replace the nodeport in config/samples/ds_v1alpha1_api.yaml
Install CRDs and controller
export IMG=ghcr.io/apache/dolphinscheduler-operator:latest make build && make manifests && make install && make deploy
cd config/samples kubectl apply -f ds_v1alpha1_dsalert.yaml kubectl apply -f ds_v1alpha1_dsapi.yaml -f ds_v1alpha1_dsmaster.yaml -f ds_v1alpha1_dsworker.yaml