|
|
|
@ -12,16 +12,16 @@ If you are a new hand and want to experience DolphinScheduler functions, we reco
|
|
|
|
|
|
|
|
|
|
## Install DolphinScheduler |
|
|
|
|
|
|
|
|
|
Please download the source code package `apache-dolphinscheduler-3.0.0-beta-1-src.tar.gz`, download address: [download address](/en-us/download/download.html) |
|
|
|
|
Please download the source code package `apache-dolphinscheduler-3.0.0-beta-2-src.tar.gz`, download address: [download address](/en-us/download/download.html) |
|
|
|
|
|
|
|
|
|
To publish the release name `dolphinscheduler` version, please execute the following commands: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
$ tar -zxvf apache-dolphinscheduler-3.0.0-beta-1-src.tar.gz |
|
|
|
|
$ cd apache-dolphinscheduler-3.0.0-beta-1-src/deploy/kubernetes/dolphinscheduler |
|
|
|
|
$ tar -zxvf apache-dolphinscheduler-3.0.0-beta-2-src.tar.gz |
|
|
|
|
$ cd apache-dolphinscheduler-3.0.0-beta-2-src/deploy/kubernetes/dolphinscheduler |
|
|
|
|
$ helm repo add bitnami https://charts.bitnami.com/bitnami |
|
|
|
|
$ helm dependency update . |
|
|
|
|
$ helm install dolphinscheduler . --set image.tag=3.0.0-beta-1 |
|
|
|
|
$ helm install dolphinscheduler . --set image.tag=3.0.0-beta-2 |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
To publish the release name `dolphinscheduler` version to `test` namespace: |
|
|
|
@ -195,9 +195,9 @@ kubectl scale --replicas=6 sts dolphinscheduler-worker -n test # with test names
|
|
|
|
|
2. Create a new `Dockerfile` to add MySQL driver: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-<service>:3.0.0-beta-1 |
|
|
|
|
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-<service>:3.0.0-beta-2 |
|
|
|
|
# For example |
|
|
|
|
# FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-tools:3.0.0-beta-1 |
|
|
|
|
# FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-tools:3.0.0-beta-2 |
|
|
|
|
|
|
|
|
|
COPY mysql-connector-java-8.0.16.jar /opt/dolphinscheduler/lib |
|
|
|
|
``` |
|
|
|
@ -243,9 +243,9 @@ or download the Oracle driver [ojdbc8.jar](https://repo1.maven.org/maven2/com/or
|
|
|
|
|
2. Create a new `Dockerfile` to add MySQL or Oracle driver: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-<service>:3.0.0-beta-1 |
|
|
|
|
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-<service>:3.0.0-beta-2 |
|
|
|
|
# For example |
|
|
|
|
# FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.0-beta-1 |
|
|
|
|
# FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.0-beta-2 |
|
|
|
|
|
|
|
|
|
# If you want to support MySQL Datasource |
|
|
|
|
COPY mysql-connector-java-8.0.16.jar /opt/dolphinscheduler/lib |
|
|
|
@ -275,7 +275,7 @@ docker build -t apache/dolphinscheduler-<service>:new-driver .
|
|
|
|
|
1. Create a new `Dockerfile` to install pip: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.0-beta-1 |
|
|
|
|
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.0-beta-2 |
|
|
|
|
COPY requirements.txt /tmp |
|
|
|
|
RUN apt-get update && \ |
|
|
|
|
apt-get install -y --no-install-recommends python-pip && \ |
|
|
|
@ -310,7 +310,7 @@ docker build -t apache/dolphinscheduler-worker:pip .
|
|
|
|
|
1. Create a new `Dockerfile` to install Python 3: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.0-beta-1 |
|
|
|
|
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler-worker:3.0.0-beta-2 |
|
|
|
|
RUN apt-get update && \ |
|
|
|
|
apt-get install -y --no-install-recommends python3 && \ |
|
|
|
|
rm -rf /var/lib/apt/lists/* |
|
|
|
|