Seatunnel Helm Docker Image
通过Helm在Kubernetes环境中快速部署和管理Apache SeaTunnel的指南
Set Up with Helm
This section provides a quick guide to use SeaTunnel with Helm.
Prerequisites
We assume that you have one local installation as follow:
- https://docs.docker.com/
- https://kubernetes.io/
- https://helm.sh/docs/intro/quickstart/
So that the kubectl and helm commands are available on your local system.
Take kubernetes https://minikube.sigs.k8s.io/docs/start/ as an example, you can start a cluster with the following command:
bashminikube start --kubernetes-version=v1.23.3
Install
Install with default settings.
bash# Choose the corresponding version yourself export VERSION=2.3.9 helm pull oci://registry-1.docker.io/apache/seatunnel-helm --version ${VERSION} tar -xvf seatunnel-helm-${VERSION}.tgz cd seatunnel-helm helm install seatunnel .
Install with another namespace.
bashhelm install seatunnel . -n <your namespace>
Submit Job
The default config doesn't enable ingress, so you need forward the master restapi.
bashkubectl port-forward -n default svc/seatunnel-master 5801:5801
Then you can access restapi with "[***]"
If you want to use ingress, update value.yaml
for example:
commandlineingress: enabled: true host: "<your domain>"
Then upgrade seatunnel.
Then you can access restapi with http://<your domain>
Or you can just go into master pod, and use local curl command.
commandline# get one of the master pods MASTER_POD=$(kubectl get po -l 'app.kubernetes.io/name=seatunnel-master' | sed '1d' | awk '{print $1}' | head -n1) # go into master pod container. kubectl -n default exec -it $MASTER_POD -- /bin/bash curl http://127.0.0.1:5801/running-jobs curl http://127.0.0.1:5801/system-monitoring-information
After that you can submit your job by https://seatunnel.apache.org/docs/seatunnel-engine/rest-api-v2
What's More
For now, you have taken a quick look at SeaTunnel, and you can see https://seatunnel.apache.org/docs/connector-v2/source/ to find all sources and sinks SeaTunnel supported. Or see https://seatunnel.apache.org/docs/seatunnel-engine/deployment if you want to submit your application in another kind of your engine cluster.
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 seatunnel-helm 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务