Skip to content

Commit 5246254

Browse files
peerless1024evelynwei
and
evelynwei
authored
chore: update README and helm files (#1402)
Co-authored-by: evelynwei <[email protected]>
1 parent 7aace3c commit 5246254

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

release/cluster/helm/README-zh.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
您可以修改 `values.yaml` ,将 `global.mode` 设置为 `standalone` ,然后使用下面的命令安装,将 `${release_name}` 替换为您需要的 release 名。
1616

1717
```shell
18-
$ cd deploy/helm
18+
$ cd release/cluster/helm
1919
$ helm install ${release_name} .
2020
```
2121

2222
您可以可以直接使用下面的命令启动:
2323

2424
```shell
25-
$ cd deploy/helm
25+
$ cd release/cluster/helm
2626
$ helm install ${release_name} . --set global.mode=standalone
2727
```
2828

@@ -38,7 +38,7 @@ mysql -u $db_user -p $db_pwd -h $db_host < store/sqldb/polaris_server.sql
3838
设置好后,使用下面的命令安装 chart:
3939

4040
```shell
41-
$ cd deploy/helm
41+
$ cd release/cluster/helm
4242
$ helm install ${release_name} .
4343
```
4444

release/cluster/helm/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ You can modify `values.yaml` , set `global.mode` to `standalone` , then install
1616
replacing `${release_name}` with your desired release name.
1717

1818
```shell
19-
$ cd deploy/helm
19+
$ cd release/cluster/helm
2020
$ helm install ${release_name} .
2121
```
2222

2323
You can start directly with the following command:
2424

2525
```shell
26-
$ cd deploy/helm
26+
$ cd release/cluster/helm
2727
$ helm install ${release_name} . --set global.mode=standalone
2828
```
2929

@@ -39,7 +39,7 @@ mysql -u $db_user -p $db_pwd -h $db_host < store/sqldb/polaris_server.sql
3939
Once set up, install the chart with the following command.
4040

4141
```shell
42-
$ cd deploy/helm
42+
$ cd release/cluster/helm
4343
$ helm install ${release_name} .
4444
```
4545

release/cluster/helm/templates/prometheus.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
targetPort: {{ .Values.monitor.port }}
1717
selector:
1818
app: polaris-prometheus
19-
type: LoadBalancer
19+
type: {{ .Values.service.type }}
2020
---
2121
apiVersion: apps/v1
2222
kind: Deployment

0 commit comments

Comments
 (0)