Skip to content

Commit a9decc9

Browse files
Gallardotfuchanghairickchengx
authored
[Bug][Helm] fix image.registry (#15860)
Signed-off-by: Gallardot <gallardot@apache.org> Co-authored-by: fuchanghai <changhaifu@apache.org> Co-authored-by: Rick Cheng <rickchengx@gmail.com>
1 parent d306f1d commit a9decc9

4 files changed

Lines changed: 20 additions & 22 deletions

File tree

‎deploy/kubernetes/dolphinscheduler/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Please refer to the [Quick Start in Kubernetes](../../../docs/docs/en/guide/inst
174174
| image.master | string | `"dolphinscheduler-master"` | master image |
175175
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. Options: Always, Never, IfNotPresent |
176176
| image.pullSecret | string | `""` | Specify a imagePullSecrets |
177-
| image.registry | string | `"apache/dolphinscheduler"` | Docker image repository for the DolphinScheduler |
177+
| image.registry | string | `"apache"` | Docker image repository for the DolphinScheduler |
178178
| image.tag | string | `"latest"` | Docker image version for the DolphinScheduler |
179179
| image.tools | string | `"dolphinscheduler-tools"` | tools image |
180180
| image.worker | string | `"dolphinscheduler-worker"` | worker image |

‎deploy/kubernetes/dolphinscheduler/values.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ initImage:
3131

3232
image:
3333
# -- Docker image repository for the DolphinScheduler
34-
registry: apache/dolphinscheduler
34+
registry: apache
3535
# -- Docker image version for the DolphinScheduler
3636
tag: latest
3737
# -- Image pull policy. Options: Always, Never, IfNotPresent

‎docs/docs/en/guide/installation/kubernetes.md‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,15 @@ If you are a new hand and want to experience DolphinScheduler functions, we reco
1414

1515
## Install DolphinScheduler
1616

17-
Please download the source code package `apache-dolphinscheduler-<version>-src.tar.gz`, download address: [download address](https://dolphinscheduler.apache.org/en-us/download)
18-
19-
To publish the release name `dolphinscheduler` version, please execute the following commands:
20-
21-
```
22-
$ tar -zxvf apache-dolphinscheduler-<version>-src.tar.gz
23-
$ cd apache-dolphinscheduler-<version>-src/deploy/kubernetes/dolphinscheduler
24-
$ helm repo add bitnami https://charts.bitnami.com/bitnami
25-
$ helm dependency update .
26-
$ helm install dolphinscheduler . --set image.tag=<version>
17+
```bash
18+
# Choose the corresponding version yourself
19+
export VERSION=3.2.1
20+
helm pull oci://registry-1.docker.io/apache/dolphinscheduler-helm --version ${VERSION}
21+
tar -xvf dolphinscheduler-helm-${VERSION}.tgz
22+
cd dolphinscheduler-helm
23+
helm repo add bitnami https://charts.bitnami.com/bitnami
24+
helm dependency update .
25+
helm install dolphinscheduler .
2726
```
2827

2928
To publish the release name `dolphinscheduler` version to `test` namespace:

‎docs/docs/zh/guide/installation/kubernetes.md‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,15 @@ Kubernetes 部署目的是在 Kubernetes 集群中部署 DolphinScheduler 服务
1414

1515
## 安装 dolphinscheduler
1616

17-
请下载源码包 apache-dolphinscheduler-<version>-src.tar.gz,下载地址: [下载](https://dolphinscheduler.apache.org/zh-cn/download)
18-
19-
发布一个名为 `dolphinscheduler` 的版本(release),请执行以下命令:
20-
21-
```
22-
$ tar -zxvf apache-dolphinscheduler-<version>-src.tar.gz
23-
$ cd apache-dolphinscheduler-<version>-src/deploy/kubernetes/dolphinscheduler
24-
$ helm repo add bitnami https://charts.bitnami.com/bitnami
25-
$ helm dependency update .
26-
$ helm install dolphinscheduler . --set image.tag=<version>
17+
```bash
18+
# 自行选择对应的版本
19+
export VERSION=3.2.1
20+
helm pull oci://registry-1.docker.io/apache/dolphinscheduler-helm --version ${VERSION}
21+
tar -xvf dolphinscheduler-helm-${VERSION}.tgz
22+
cd dolphinscheduler-helm
23+
helm repo add bitnami https://charts.bitnami.com/bitnami
24+
helm dependency update .
25+
helm install dolphinscheduler .
2726
```
2827

2928
将名为 `dolphinscheduler` 的版本(release) 发布到 `test` 的命名空间中:

0 commit comments

Comments
 (0)