catpineapple commented on code in PR #2115: URL: https://github.com/apache/doris-website/pull/2115#discussion_r1970820742
########## docs/install/deploy-on-kubernetes/integrated-storage-compute/install-config-cluster.md: ########## @@ -725,3 +725,28 @@ For more details on creating users, setting passwords, and granting permissions, :::tip Tip After setting the root password and configuring the new username and password for managing nodes after deployment, the existing services will be restarted once in a rolling manner. ::: + +## Automatic Service Restart on Configuration Changes +Doris specifies startup parameters through configuration files. While most parameters can be modified through web interfaces and take effect immediately, certain parameters requiring service restart can now be automatically handled through Doris Operator's restart capability introduced in version 25.1.0. +To enable this functionality in a `DorisCluster` resource, configure: +```yaml +spec: + enableRestartWhenConfigChange: true +``` +When this configuration is present, Doris Operator will: +1. Monitor changes to cluster startup configurations (mounted via ConfigMap, see [Customizing Startup Configurations](#custom-startup-configuration)). +2. Automatically restart affected services when configurations change. + +### FE Service Example +1. Sample DorisCluster deployment specification: +```yaml +spec: +enableRestartWhenConfigChange: true Review Comment: English document yaml indentation error -- 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