Skip to content

Commit

Permalink
chore: update README and helm files
Browse files Browse the repository at this point in the history
  • Loading branch information
evelynwei committed Dec 5, 2024
1 parent 7aace3c commit c534255
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions release/cluster/helm/README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
您可以修改 `values.yaml` ,将 `global.mode` 设置为 `standalone` ,然后使用下面的命令安装,将 `${release_name}` 替换为您需要的 release 名。

```shell
$ cd deploy/helm
$ cd release/cluster/helm
$ helm install ${release_name} .
```

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

```shell
$ cd deploy/helm
$ cd release/cluster/helm
$ helm install ${release_name} . --set global.mode=standalone
```

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

```shell
$ cd deploy/helm
$ cd release/cluster/helm
$ helm install ${release_name} .
```

Expand Down
6 changes: 3 additions & 3 deletions release/cluster/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ You can modify `values.yaml` , set `global.mode` to `standalone` , then install
replacing `${release_name}` with your desired release name.

```shell
$ cd deploy/helm
$ cd release/cluster/helm
$ helm install ${release_name} .
```

You can start directly with the following command:

```shell
$ cd deploy/helm
$ cd release/cluster/helm
$ helm install ${release_name} . --set global.mode=standalone
```

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

```shell
$ cd deploy/helm
$ cd release/cluster/helm
$ helm install ${release_name} .
```

Expand Down
2 changes: 1 addition & 1 deletion release/cluster/helm/templates/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
targetPort: {{ .Values.monitor.port }}
selector:
app: polaris-prometheus
type: LoadBalancer
type: {{ .Values.service.type }}
---
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit c534255

Please sign in to comment.