Hisoka-X commented on code in PR #261: URL: https://github.com/apache/seatunnel-website/pull/261#discussion_r1300826546
########## versioned_docs/version-2.3.3/start-v2/locally/deployment.md: ########## @@ -0,0 +1,84 @@ +--- + +sidebar_position: 1 +------------------- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Deployment + +## Step 1: Prepare the environment + +Before you getting start the local run, you need to make sure you already have installed the following software which SeaTunnel required: + +* [Java](https://www.java.com/en/download/) (Java 8 or 11, other versions greater than Java 8 can theoretically work as well) installed and `JAVA_HOME` set. + +## Step 2: Download SeaTunnel + +Enter the [seatunnel download page](https://seatunnel.apache.org/download) and download the latest version of distribute +package `seatunnel-<version>-bin.tar.gz` + +Or you can download it by terminal + +```shell +export version="2.3.3" +wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz" +tar -xzvf "apache-seatunnel-${version}-bin.tar.gz" +``` + +<!-- TODO: We should add example module as quick start which is no need for install Spark or Flink --> + +## Step 3: Install connectors plugin + +Since 2.2.0-beta, the binary package does not provide connector dependencies by default, so when using it for the first time, you need to execute the following command to install the connector: (Of course, you can also manually download the connector from [Apache Maven Repository](https://repo.maven.apache.org/maven2/org/apache/seatunnel/) to download, then manually move to the `connectors/seatunnel` directory). + +```bash +sh bin/install-plugin.sh 2.3.2 Review Comment: ```suggestion sh bin/install-plugin.sh 2.3.3 ``` ########## versioned_docs/version-2.3.3/start-v2/locally/deployment.md: ########## @@ -0,0 +1,84 @@ +--- + +sidebar_position: 1 +------------------- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Deployment + +## Step 1: Prepare the environment + +Before you getting start the local run, you need to make sure you already have installed the following software which SeaTunnel required: + +* [Java](https://www.java.com/en/download/) (Java 8 or 11, other versions greater than Java 8 can theoretically work as well) installed and `JAVA_HOME` set. + +## Step 2: Download SeaTunnel + +Enter the [seatunnel download page](https://seatunnel.apache.org/download) and download the latest version of distribute +package `seatunnel-<version>-bin.tar.gz` + +Or you can download it by terminal + +```shell +export version="2.3.3" +wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz" +tar -xzvf "apache-seatunnel-${version}-bin.tar.gz" +``` + +<!-- TODO: We should add example module as quick start which is no need for install Spark or Flink --> + +## Step 3: Install connectors plugin + +Since 2.2.0-beta, the binary package does not provide connector dependencies by default, so when using it for the first time, you need to execute the following command to install the connector: (Of course, you can also manually download the connector from [Apache Maven Repository](https://repo.maven.apache.org/maven2/org/apache/seatunnel/) to download, then manually move to the `connectors/seatunnel` directory). + +```bash +sh bin/install-plugin.sh 2.3.2 +``` + +If you need to specify the version of the connector, take 2.3.2 as an example, you need to execute + +```bash +sh bin/install-plugin.sh 2.3.2 Review Comment: ```suggestion sh bin/install-plugin.sh 2.3.3 ``` ########## versioned_docs/version-2.3.3/start-v2/kubernetes/kubernetes.mdx: ########## @@ -0,0 +1,293 @@ +--- +sidebar_position: 4 +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Set Up with Kubernetes + +This section provides a quick guide to using SeaTunnel with Kubernetes. + +## Prerequisites + +We assume that you have a local installations of the following: + +- [docker](https://docs.docker.com/) +- [kubernetes](https://kubernetes.io/) +- [helm](https://helm.sh/docs/intro/quickstart/) + +So that the `kubectl` and `helm` commands are available on your local system. + +For kubernetes [minikube](https://minikube.sigs.k8s.io/docs/start/) is our choice, at the time of writing this we are using version v1.23.3. You can start a cluster with the following command: + +```bash +minikube start --kubernetes-version=v1.23.3 +``` + +## Installation + +### SeaTunnel docker image + +To run the image with SeaTunnel, first create a `Dockerfile`: + +<Tabs + groupId="engine-type" + defaultValue="flink" + values={[ + {label: 'Flink', value: 'flink'}, + ]}> +<TabItem value="flink"> + +```Dockerfile +FROM flink:1.13 + +ENV SEATUNNEL_VERSION="2.3.2" Review Comment: ```suggestion ENV SEATUNNEL_VERSION="2.3.3" ``` ########## versioned_docs/version-2.3.3/start-v2/locally/deployment.md: ########## @@ -0,0 +1,84 @@ +--- + +sidebar_position: 1 +------------------- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Deployment + +## Step 1: Prepare the environment + +Before you getting start the local run, you need to make sure you already have installed the following software which SeaTunnel required: + +* [Java](https://www.java.com/en/download/) (Java 8 or 11, other versions greater than Java 8 can theoretically work as well) installed and `JAVA_HOME` set. + +## Step 2: Download SeaTunnel + +Enter the [seatunnel download page](https://seatunnel.apache.org/download) and download the latest version of distribute +package `seatunnel-<version>-bin.tar.gz` + +Or you can download it by terminal + +```shell +export version="2.3.3" +wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz" +tar -xzvf "apache-seatunnel-${version}-bin.tar.gz" +``` + +<!-- TODO: We should add example module as quick start which is no need for install Spark or Flink --> + +## Step 3: Install connectors plugin + +Since 2.2.0-beta, the binary package does not provide connector dependencies by default, so when using it for the first time, you need to execute the following command to install the connector: (Of course, you can also manually download the connector from [Apache Maven Repository](https://repo.maven.apache.org/maven2/org/apache/seatunnel/) to download, then manually move to the `connectors/seatunnel` directory). + +```bash +sh bin/install-plugin.sh 2.3.2 +``` + +If you need to specify the version of the connector, take 2.3.2 as an example, you need to execute Review Comment: ```suggestion If you need to specify the version of the connector, take 2.3.3 as an example, you need to execute ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
