catpineapple commented on code in PR #2115: URL: https://github.com/apache/doris-website/pull/2115#discussion_r1970821500
########## i18n/zh-CN/docusaurus-plugin-content-docs/current/install/deploy-on-kubernetes/integrated-storage-compute/install-config-cluster.md: ########## @@ -875,4 +875,29 @@ GRANT NODE_PRIV ON *.*.* TO ${DB_ADMIN_USER}; :::tip 提示 - 部署后设置 root 密码,并配置新的拥有管理节点的用户名和密码后,会引起存量服务滚动重启一次。 +::: + +## 启动配置修改后自动重启服务生效参数 +Doris 通过配置文件的方式指定启动参数。目前大部分参数可以通过相应的 web 接口进行修改并实时生效,一些不能通过 web 接口修改的参数需要重启服务生效。Doris Operator 的 25.1.0 版本后提供服务启动参数修改后自动重启生效的能力。 +在 `DorisCluster` 资源中配置开启上述能力,配置如下: +```yaml +spec: + enableRestartWhenConfigChange: true +``` +如果 DorisCluster 资源含有上述配置,Doris Operator 将会进行如下处理: +1. 监测 `DorisCluster` 资源部署的集群依赖的启动配置(通过 ConfigMap 挂载,详情请查看[定制化启动配置章节](#定制化启动配置))是否发生变化。 +2. 启动配置变化后,自动重启相应服务来使配置生效。 +### FE 的使用范例如下: Review Comment: 支持 FE、BE 节点类型的 configmap 监测重启,这里以 FE 为例: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org