From c534255d89f9c89a3b11945767ad852c9b7be6d0 Mon Sep 17 00:00:00 2001 From: evelynwei Date: Thu, 5 Dec 2024 17:39:14 +0800 Subject: [PATCH] chore: update README and helm files --- release/cluster/helm/README-zh.md | 6 +++--- release/cluster/helm/README.md | 6 +++--- release/cluster/helm/templates/prometheus.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/release/cluster/helm/README-zh.md b/release/cluster/helm/README-zh.md index a60dab761..ae43eb6c1 100644 --- a/release/cluster/helm/README-zh.md +++ b/release/cluster/helm/README-zh.md @@ -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 ``` @@ -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} . ``` diff --git a/release/cluster/helm/README.md b/release/cluster/helm/README.md index bd4785634..2a649a44f 100644 --- a/release/cluster/helm/README.md +++ b/release/cluster/helm/README.md @@ -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 ``` @@ -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} . ``` diff --git a/release/cluster/helm/templates/prometheus.yaml b/release/cluster/helm/templates/prometheus.yaml index d06b146f3..4390da602 100644 --- a/release/cluster/helm/templates/prometheus.yaml +++ b/release/cluster/helm/templates/prometheus.yaml @@ -16,7 +16,7 @@ spec: targetPort: {{ .Values.monitor.port }} selector: app: polaris-prometheus - type: LoadBalancer + type: {{ .Values.service.type }} --- apiVersion: apps/v1 kind: Deployment