Skip to content

Commit 2414eae

Browse files
committed
improve-access-dashboard-base-on-1.6
1 parent 1690854 commit 2414eae

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

en/access-dashboard.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ metadata:
4242
name: basic
4343
spec:
4444
pd:
45-
enableDashboardInternalProxy: true
45+
config:
46+
dashboard.internal-proxy: true
4647
```
4748
4849
In this deployment method, the `service`, `port`, and `HTTP` paths of TiDB Dashboard are as follows:
@@ -197,7 +198,7 @@ spec:
197198

198199
After deploying the `Service`, you can access TiDB Dashboard via <https://{nodeIP}:{nodePort}/dashboard>. By default, `nodePort` is randomly assigned by Kubernetes. You can also specify an available port in the `.yaml` file.
199200

200-
Note that if there is more than one PD `Pod` in the cluster, you need to set `spec.pd.enableDashboardInternalProxy: true` in the `TidbCluster` CR to ensure normal access to TiDB Dashboard.
201+
Note that if there is more than one PD `Pod` in the cluster, you need to set `spec.pd.config.dashboard.internal-proxy: true` in the `TidbCluster` CR to ensure normal access to TiDB Dashboard.
201202

202203
### Access independently deployed TiDB Dashboard
203204

zh/access-dashboard.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ metadata:
3838
name: basic
3939
spec:
4040
pd:
41-
enableDashboardInternalProxy: true
41+
config:
42+
dashboard.internal-proxy: true
4243
```
4344
4445
这种方法部署的 TiDB Dashboard,service、port 和 HTTP 路径如下:
@@ -193,7 +194,7 @@ spec:
193194

194195
当 `Service` 部署完成后,可以通过 `https://{nodeIP}:{nodePort}/dashboard` 访问 TiDB Dashboard, 其中 `nodePort` 默认由 Kubernetes 随机分配,也可以在 yaml 文件中指定一个可用的端口。
195196

196-
需要注意如果 PD Pod 数量超过 1 ,需要在 TidbCluster CR 中设置 `spec.pd.enableDashboardInternalProxy: true` 以保证正常访问 TiDB Dashboard。
197+
需要注意如果 PD Pod 数量超过 1 ,需要在 TidbCluster CR 中设置 `spec.pd.config.dashboard.internal-proxy: true` 以保证正常访问 TiDB Dashboard。
197198

198199
### 访问独立部署的 TiDB Dashboard
199200

0 commit comments

Comments
 (0)