This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new 12e6b79782 Update deploy-on-k8s-docker.md (#2549)
12e6b79782 is described below
commit 12e6b797823276630ce2c22fd540230f25129cde
Author: Mford Jody <[email protected]>
AuthorDate: Thu Apr 20 16:12:19 2023 +0800
Update deploy-on-k8s-docker.md (#2549)
---
.../overview/tasks/deploy/deploy-on-k8s-docker.md | 28 ++++------------------
1 file changed, 4 insertions(+), 24 deletions(-)
diff --git a/content/zh-cn/overview/tasks/deploy/deploy-on-k8s-docker.md
b/content/zh-cn/overview/tasks/deploy/deploy-on-k8s-docker.md
index 16ffd21716..89e45dbae1 100644
--- a/content/zh-cn/overview/tasks/deploy/deploy-on-k8s-docker.md
+++ b/content/zh-cn/overview/tasks/deploy/deploy-on-k8s-docker.md
@@ -29,26 +29,13 @@ kubectl create ns dubbo-demo
### zookeeper
-获取 zookeeper
+获取图表
```
-helm repo add bitnami https://charts.bitnami.com/bitnami && helm repo update
&& helm search repo bitnami/zookeeper
+helm repo add bitnami https://charts.bitnami.com/bitnami
```
-
-拉取 zookeeper
-```
-helm pull bitnami/zookeeper --untar --version x.x.x
-```
-
-关闭持久化存储
-```
-### values.yaml
-persistence:
- enabled: false
-```
-
安装 zookeeper
```
-helm install zookeeper -f values.yaml --namespace dubbo-demo .
+helm install zookeeper bitnami/zookeeper --set persistence.enabled=false -n
dubbo-demo
```
查看 zookeeper
@@ -63,13 +50,6 @@ kubectl get pods -n dubbo-demo
git clone https://github.com/apache/dubbo-admin.git && cd
/dubbo-admin/deploy/k8s
```
-配置
-```
-admin.registry.address=zookeeper://zookeeper:2181
-admin.config-center=zookeeper://zookeeper:2181
-admin.metadata-report.address=zookeeper://zookeeper:2181
-```
-
创建服务
```
kubectl apply -f ./ -n dubbo-demo
@@ -243,4 +223,4 @@ kubectl create -f consumer.yaml
```
查看服务
-
\ No newline at end of file
+