Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zengzhengrong committed Jan 7, 2023
1 parent 2d130df commit 2fec476
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,23 @@ helm repo update
```
helm install canal zengzhengrong/canal --namespace canal \
--set canalAdmin.logs.storageClass=openebs-hostpath \
--set canalServer.logs.storageClass=openebs-hostpath
--set canalServer.logs.storageClass=openebs-hostpath \
--set canalAdmin.config.springDatasourceAddress=mysql \
--set canalAdmin.config.springDatasourceUsername=root \
--set canalAdmin.secret.springDatasourcePassword=root
```
需要设置日志存储类和canal admin 要连接的mysql数据库

#### HA 集群模式

安装内置的zookeeper集群
```
helm install canal zengzhengrong/canal --namespace canal \
--set canalAdmin.logs.storageClass=openebs-hostpath \
--set canalServer.logs.storageClass=openebs-hostpath \
--set canalAdmin.config.springDatasourceAddress=mysql \
--set canalAdmin.config.springDatasourceUsername=root \
--set canalAdmin.secret.springDatasourcePassword=root \
--set canalAdmin.ingress.enabled=true \
--set canalServerClusterMode.enabled=true \
--set zookeeper.enabled=true \
Expand All @@ -36,6 +45,11 @@ helm install canal zengzhengrong/canal --namespace canal \

```
helm install canal zengzhengrong/canal --namespace canal \
--set canalAdmin.logs.storageClass=openebs-hostpath \
--set canalServer.logs.storageClass=openebs-hostpath \
--set canalAdmin.config.springDatasourceAddress=mysql \
--set canalAdmin.config.springDatasourceUsername=root \
--set canalAdmin.secret.springDatasourcePassword=root \
--set canalAdmin.ingress.enabled=true \
--set canalServerClusterMode.enabled=true \
--set zookeeper.extralUrl=zookeeper.zookeeper
Expand Down

0 comments on commit 2fec476

Please sign in to comment.