This is an automated email from the ASF dual-hosted git repository.
smiletan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 033dffca3eb [k8s](separation)deploy_mode (#2841)
033dffca3eb is described below
commit 033dffca3ebb702b6dd4120b7a14f96e01e0407d
Author: smiletan <[email protected]>
AuthorDate: Thu Sep 4 20:41:17 2025 +0800
[k8s](separation)deploy_mode (#2841)
## Versions
- [x] dev
- [x] 3.0
- [ ] 2.1
- [ ] 2.0
## Languages
- [x] Chinese
- [x] English
## Docs Checklist
- [ ] Checked by AI
- [ ] Test Cases Built
---
.../deploy-on-kubernetes/separating-storage-compute/config-cg.md | 1 +
.../deploy-on-kubernetes/separating-storage-compute/config-fe.md | 3 ++-
.../deploy-on-kubernetes/separating-storage-compute/config-cg.md | 1 +
.../deploy-on-kubernetes/separating-storage-compute/config-fe.md | 3 ++-
.../deploy-on-kubernetes/separating-storage-compute/config-cg.md | 1 +
.../deploy-on-kubernetes/separating-storage-compute/config-fe.md | 3 ++-
.../deploy-on-kubernetes/separating-storage-compute/config-cg.md | 1 +
.../deploy-on-kubernetes/separating-storage-compute/config-fe.md | 3 ++-
8 files changed, 12 insertions(+), 4 deletions(-)
diff --git
a/docs/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
b/docs/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
index 4187ce0e2a5..d8ead32ed4a 100644
--- a/docs/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
+++ b/docs/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
@@ -131,6 +131,7 @@ spec:
# For JDK 17, these JAVA_OPTS serve as the default JVM options
JAVA_OPTS_FOR_JDK_17="-Xmx1024m -DlogPath=$LOG_DIR/jni.log
-Xlog:gc*:$LOG_DIR/be.gc.log.$CUR_DATE:time,uptime:filecount=10,filesize=50M
-Djavax.security.auth.useSubjectCredsOnly=false -Dsun.security.krb5.debug=true
-Dsun.java.command=DorisBE -XX:-CriticalJNINatives
-XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNA [...]
file_cache_path =
[{"path":"/opt/apache-doris/be/file_cache","total_size":107374182400,"query_limit":107374182400}]
+ deploy_mode = cloud
```
The startup configuration for the BE service in a decoupled cluster must
include the file_cache_path setting. For the required format, please refer to
the [Doris decoupled configuration for
be.conf](./../../../compute-storage-decoupled/compilation-and-deployment.md#541-configure-beconf).
diff --git
a/docs/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
b/docs/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
index 5114bbcfc22..0140ef4b2a3 100644
--- a/docs/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
+++ b/docs/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
@@ -67,6 +67,7 @@ The Doris Operator mounts the FE startup configuration using
a Kubernetes Config
query_port = 9030
edit_log_port = 9010
enable_fqdn_mode=true
+ deploy_mode = cloud
```
2. Deploy the ConfigMap
@@ -88,7 +89,7 @@ The Doris Operator mounts the FE startup configuration using
a Kubernetes Config
In the `DorisDisaggregatedCluster` resource, the `configMaps` field is an
array, with each element's `name` representing the name of the ConfigMap in the
current namespace.
:::tip Tip
-1. In Kubernetes deployments, it is not necessary to include
`meta_service_endpoint`, `deploy_mode`, or `cluster_id` in the startup
configuration, as the Doris Operator will automatically add this information.
+1. In Kubernetes deployments, it is not necessary to include
`meta_service_endpoint` or `cluster_id` in the startup configuration, as the
Doris Operator will automatically add this information.
2. When customizing the startup configuration, `enable_fqdn_mode` must be set
to true.
:::
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
index e1269de9e53..3f6a0d3bceb 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
@@ -127,6 +127,7 @@ spec:
# For jdk 17, this JAVA_OPTS will be used as default JVM options
JAVA_OPTS_FOR_JDK_17="-Xmx1024m -DlogPath=$LOG_DIR/jni.log
-Xlog:gc*:$LOG_DIR/be.gc.log.$CUR_DATE:time,uptime:filecount=10,filesize=50M
-Djavax.security.auth.useSubjectCredsOnly=false -Dsun.security.krb5.debug=true
-Dsun.java.command=DorisBE -XX:-CriticalJNINatives
-XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNA [...]
file_cache_path =
[{"path":"/opt/apache-doris/be/file_cache","total_size":107374182400,"query_limit":107374182400}]
+ deploy_mode = cloud
```
存算分离集群 BE 服务的启动配置必须设置 `file_cache_path`,格式请参考[存算分离配置
`be.conf`](../../../compute-storage-decoupled/compilation-and-deployment.md#541-配置-beconf)
章节。
2. 部署 ConfigMap
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
index 24aa29f32c8..c2d63331c49 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
@@ -63,6 +63,7 @@ Doris Operator 通过 Kubernetes 的 ConfigMap 挂载 FE 启动配置。配置
query_port = 9030
edit_log_port = 9010
enable_fqdn_mode=true
+ deploy_mode = cloud
```
2. 通过如下命令部署 `ConfigMap` 到 `DorisDisaggregatedCluster` 所在的命名空间:
@@ -82,7 +83,7 @@ Doris Operator 通过 Kubernetes 的 ConfigMap 挂载 FE 启动配置。配置
```
:::tip 提示
-1. Kubernetes 部署中,启动配置中无需要添加 `meta_service_endpoint`、`deploy_mode` 以及
`cluster_id` 配置,Doris-Operator 会自动添加相关信息。
+1. Kubernetes 部署中,启动配置中无需要添加 `meta_service_endpoint` 以及 `cluster_id`
配置,Doris-Operator 会自动添加相关信息。
2. Kubernetes 部署中,自定义启动配置时,必须设定 `enable_fqdn_mode=true`。
:::
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
index 86d01763dc1..50ec934aa76 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
@@ -127,6 +127,7 @@ spec:
# For jdk 17, this JAVA_OPTS will be used as default JVM options
JAVA_OPTS_FOR_JDK_17="-Xmx1024m -DlogPath=$LOG_DIR/jni.log
-Xlog:gc*:$LOG_DIR/be.gc.log.$CUR_DATE:time,uptime:filecount=10,filesize=50M
-Djavax.security.auth.useSubjectCredsOnly=false -Dsun.security.krb5.debug=true
-Dsun.java.command=DorisBE -XX:-CriticalJNINatives
-XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNA [...]
file_cache_path =
[{"path":"/mnt/apache-doris/be/file_cache","total_size":107374182400,"query_limit":107374182400}]
+ deploy_mode = cloud
```
存算分离集群 BE 服务的启动配置必须设置 `file_cache_path`,格式请参考[存算分离配置
`be.conf`](../../../compute-storage-decoupled/compilation-and-deployment.md#541-配置-beconf)
章节。
2. 部署 ConfigMap
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
index 84ad80ea63c..99666f32805 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
@@ -63,6 +63,7 @@ Doris Operator 通过 Kubernetes 的 ConfigMap 挂载 FE 启动配置。配置
query_port = 9030
edit_log_port = 9010
enable_fqdn_mode=true
+ deploy_mode = true
```
2. 通过如下命令部署 `ConfigMap` 到 `DorisDisaggregatedCluster` 所在的命名空间:
@@ -82,7 +83,7 @@ Doris Operator 通过 Kubernetes 的 ConfigMap 挂载 FE 启动配置。配置
```
:::tip 提示
-1. Kubernetes 部署中,启动配置中无需要添加 `meta_service_endpoint`、`deploy_mode` 以及
`cluster_id` 配置,Doris-Operator 会自动添加相关信息。
+1. Kubernetes 部署中,启动配置中无需要添加 `meta_service_endpoint` 以及 `cluster_id`
配置,Doris-Operator 会自动添加相关信息。
2. Kubernetes 部署中,自定义启动配置时,必须设定 `enable_fqdn_mode=true`。
:::
diff --git
a/versioned_docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
b/versioned_docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
index f5d6ca5625e..4f4781b55f6 100644
---
a/versioned_docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
+++
b/versioned_docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-cg.md
@@ -131,6 +131,7 @@ spec:
# For JDK 17, these JAVA_OPTS serve as the default JVM options
JAVA_OPTS_FOR_JDK_17="-Xmx1024m -DlogPath=$LOG_DIR/jni.log
-Xlog:gc*:$LOG_DIR/be.gc.log.$CUR_DATE:time,uptime:filecount=10,filesize=50M
-Djavax.security.auth.useSubjectCredsOnly=false -Dsun.security.krb5.debug=true
-Dsun.java.command=DorisBE -XX:-CriticalJNINatives
-XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNA [...]
file_cache_path =
[{"path":"/opt/apache-doris/be/file_cache","total_size":107374182400,"query_limit":107374182400}]
+ deploy_mode = cloud
```
The startup configuration for the BE service in a decoupled cluster must
include the file_cache_path setting. For the required format, please refer to
the [Doris decoupled configuration for
be.conf](./../../../compute-storage-decoupled/compilation-and-deployment.md#541-configure-beconf).
diff --git
a/versioned_docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
b/versioned_docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
index c33f091bc9d..3b7e93cb7b2 100644
---
a/versioned_docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
+++
b/versioned_docs/version-3.0/install/deploy-on-kubernetes/separating-storage-compute/config-fe.md
@@ -67,6 +67,7 @@ The Doris Operator mounts the FE startup configuration using
a Kubernetes Config
query_port = 9030
edit_log_port = 9010
enable_fqdn_mode=true
+ deploy_mode = cloud
```
2. Deploy the ConfigMap
@@ -88,7 +89,7 @@ The Doris Operator mounts the FE startup configuration using
a Kubernetes Config
In the `DorisDisaggregatedCluster` resource, the `configMaps` field is an
array, with each element's `name` representing the name of the ConfigMap in the
current namespace.
:::tip Tip
-1. In Kubernetes deployments, it is not necessary to include
`meta_service_endpoint`, `deploy_mode`, or `cluster_id` in the startup
configuration, as the Doris Operator will automatically add this information.
+1. In Kubernetes deployments, it is not necessary to include
`meta_service_endpoint` or `cluster_id` in the startup configuration, as the
Doris Operator will automatically add this information.
2. When customizing the startup configuration, `enable_fqdn_mode` must be set
to true.
:::
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]