From 0075b4a953a9fb25b78a056fb9db22bf6a83abb7 Mon Sep 17 00:00:00 2001 From: LemonLiTree Date: Wed, 21 Feb 2024 15:09:37 +0800 Subject: [PATCH] fix --- docs/en/docs/install/k8s-deploy/debug-crash.md | 5 +++-- docs/zh-CN/docs/install/k8s-deploy/debug-crash.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/en/docs/install/k8s-deploy/debug-crash.md b/docs/en/docs/install/k8s-deploy/debug-crash.md index 9bb7272d22d5f9..911a65603cb6b9 100644 --- a/docs/en/docs/install/k8s-deploy/debug-crash.md +++ b/docs/en/docs/install/k8s-deploy/debug-crash.md @@ -50,9 +50,10 @@ When the service is restarted next time, the service will detect the annotation $ kubectl --namespace ${namespace} exec -ti ${pod_name} bash ``` -**3. Manually start the service under `debug`. When the user enters the pod, manually execute the `start_xx.sh` script by modifying the HTTP port of the corresponding configuration file. The script directory is under `/opt/apache-doris/xx/bin`.** - +**3. Manually start the service under `debug`. When the user enters the pod, manually execute the `start_xx.sh` script by modifying the port of the corresponding configuration file. The script directory is under `/opt/apache-doris/xx/bin`.** +FE needs to modify `query_port`, BE needs to modify `heartbeat_service_port` +The main purpose is to avoid misleading the flow by accessing the crashed node through service in `debug` mode. ## Exit Debug mode diff --git a/docs/zh-CN/docs/install/k8s-deploy/debug-crash.md b/docs/zh-CN/docs/install/k8s-deploy/debug-crash.md index 783b48fff28b89..f135f761ab530b 100644 --- a/docs/zh-CN/docs/install/k8s-deploy/debug-crash.md +++ b/docs/zh-CN/docs/install/k8s-deploy/debug-crash.md @@ -50,9 +50,10 @@ $ kubectl annotate pod ${pod_name} --namespace ${namespace} selectdb.com.doris/r $ kubectl --namespace ${namespace} exec -ti ${pod_name} bash ``` -**3. `debug` 下手动启动服务,当用户进入 pod 内部,通过修改对应配置文件有关 HTTP 的端口进行手动执行 `start_xx.sh` 脚本,脚本目录为 `/opt/apache-doris/xx/bin` 下。** - +**3. `debug` 下手动启动服务,当用户进入 pod 内部,通过修改对应配置文件有关端口进行手动执行 `start_xx.sh` 脚本,脚本目录为 `/opt/apache-doris/xx/bin` 下。** +FE 需要修改 `query_port`,BE 需要修改 `heartbeat_service_port` +主要是避免`debug`模式下还能通过 service 访问到 crash 的节点导致误导流。 ## 退出 Debug 模式