This is an automated email from the ASF dual-hosted git repository.
kassiez 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 f7ecbc12210 [Doc][k8s]how to config followers (#2611)
f7ecbc12210 is described below
commit f7ecbc122107efe1aaee432146c82d71f6566bda
Author: smiletan <[email protected]>
AuthorDate: Thu Jul 24 16:12:58 2025 +0800
[Doc][k8s]how to config followers (#2611)
## Versions
- [x] dev
- [x] 3.0
- [ ] 2.1
- [ ] 2.0
## Languages
- [x] Chinese
- [x] English
## Docs Checklist
- [ ] Checked by AI
- [ ] Test Cases Built
---
.../separating-storage-compute/config-fe.md | 15 +++++++++++++++
.../separating-storage-compute/config-fe.md | 13 +++++++++++++
.../separating-storage-compute/config-fe.md | 13 +++++++++++++
.../separating-storage-compute/config-fe.md | 15 +++++++++++++++
4 files changed, 56 insertions(+)
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 0a3839d474f..5114bbcfc22 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
@@ -21,6 +21,21 @@ spec:
```
Update the above configuration in the [DorisDisaggregatedCluster
resource](./install-doris-cluster.md#step-3-deploy-the-compute-storage-decoupled-cluster)
that you intend to deploy.
+## Configuring the Number of Follower Nodes
+In a Doris Frontend (FE) service, there are two types of roles: Follower and
Observer. Follower nodes are responsible for SQL parsing, metadata management,
and storage. Observer nodes primarily handle SQL parsing to offload query and
write traffic from Followers. Doris uses the bdbje storage system for metadata
management, which implements an algorithm similar to the Paxos protocol.
+
+In a distributed deployment, multiple Follower nodes must be configured to
participate in metadata management within the distributed environment.
+
+When deploying a compute-storage disaggregated Doris cluster using the
`DorisDisaggregatedCluster` resource, the default number of Follower nodes is
set to 1. You can configure the number of Followers using the following
setting. The example below configures three Follower nodes:
+```yaml
+spec:
+ feSpec:
+ electionNumber: 3
+```
+:::tip Note
+Once the disaggregated cluster is deployed, the `electionNumber` setting
cannot be modified.
+:::
+
## Custom Startup Configuration
The Doris Operator mounts the FE startup configuration using a Kubernetes
ConfigMap. Follow these steps to configure it:
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 bc1fb3d6396..24aa29f32c8 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
@@ -21,6 +21,19 @@ spec:
```
将上述配置信息更新到[需要部署的 `DorisDisaggregatedCluster`
资源](./install-doris-cluster.md#3-配置-dorisdisaggregatedcluster-资源)中。
+## 配置 Follower 数量
+FE 服务有 Follower 和 Observer 两种角色,Follower 负责 sql 解析任务和元数据的管理和存储。Observer 主要负责
sql 解析任务,分担 Follower 的查询和写入负载任务。Doris 使用 bdbje 存储系统管理元数据,bdbje 底层实现类似 paxos
协议算法。
+分布式部署中,需要配置多个 Follower 节点参与分布式环境下元数据管理工作。
+使用 `DorisDisaggregatedCluster` 资源部署 Doris 存算分离集群,Follower 默认的数量为 1。可通过如下配置设置
Follower 节点的数量。设置 Follower 节点数量为 3 的配置示例如下:
+```yaml
+spec:
+ feSpec:
+ electionNumber: 3
+```
+:::tip 提示
+存算分离集群部署后,`electionNumber` 不允许修改。
+:::
+
## 自定义启动配置
Doris Operator 通过 Kubernetes 的 ConfigMap 挂载 FE 启动配置。配置步骤如下:
1. 自定义一个包含 FE 启动配置的 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 209df049761..84ad80ea63c 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
@@ -21,6 +21,19 @@ spec:
```
将上述配置信息更新到[需要部署的 `DorisDisaggregatedCluster`
资源](./install-doris-cluster.md#3-配置-dorisdisaggregatedcluster-资源)中。
+## 配置 Follower 数量
+FE 服务有 Follower 和 Observer 两种角色,Follower 负责 sql 解析任务和元数据的管理和存储。Observer 主要负责
sql 解析任务,分担 Follower 的查询和写入负载任务。Doris 使用 bdbje 存储系统管理元数据,bdbje 底层实现类似 paxos
协议算法。
+分布式部署中,需要配置多个 Follower 节点参与分布式环境下元数据管理工作。
+使用 `DorisDisaggregatedCluster` 资源部署 Doris 存算分离集群,Follower 默认的数量为 1。可通过如下配置设置
Follower 节点的数量。设置 Follower 节点数量为 3 的配置示例如下:
+```yaml
+spec:
+ feSpec:
+ electionNumber: 3
+```
+:::tip 提示
+存算分离集群部署后,`electionNumber` 不允许修改。
+:::
+
## 自定义启动配置
Doris Operator 通过 Kubernetes 的 ConfigMap 挂载 FE 启动配置。配置步骤如下:
1. 自定义一个包含 FE 启动配置的 ConfigMap,样例如下:
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 f29cdaa72b5..c33f091bc9d 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
@@ -21,6 +21,21 @@ spec:
```
Update the above configuration in the [DorisDisaggregatedCluster
resource](./install-doris-cluster.md#step-3-deploy-the-compute-storage-decoupled-cluster)
that you intend to deploy.
+## Configuring the Number of Follower Nodes
+In a Doris Frontend (FE) service, there are two types of roles: Follower and
Observer. Follower nodes are responsible for SQL parsing, metadata management,
and storage. Observer nodes primarily handle SQL parsing to offload query and
write traffic from Followers. Doris uses the bdbje storage system for metadata
management, which implements an algorithm similar to the Paxos protocol.
+
+In a distributed deployment, multiple Follower nodes must be configured to
participate in metadata management within the distributed environment.
+
+When deploying a compute-storage disaggregated Doris cluster using the
`DorisDisaggregatedCluster` resource, the default number of Follower nodes is
set to 1. You can configure the number of Followers using the following
setting. The example below configures three Follower nodes:
+```yaml
+spec:
+ feSpec:
+ electionNumber: 3
+```
+:::tip Note
+Once the disaggregated cluster is deployed, the `electionNumber` setting
cannot be modified.
+:::
+
## Custom Startup Configuration
The Doris Operator mounts the FE startup configuration using a Kubernetes
ConfigMap. Follow these steps to configure it:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]