Nj-kol commented on issue #51398:
URL: https://github.com/apache/doris/issues/51398#issuecomment-2987724459

   > Both fe.conf and be.conf need to be configured `deploy_mode = cloud`
   
   Hey @XLPE  thank you so much for your reply, I figured it out eventually. 
But I feel this should have been documented in the page 
https://doris.apache.org/docs/3.0/install/deploy-on-kubernetes/separating-storage-compute/config-fe
   
   The way I resolved it is via the configmap, it would be great if you could 
include this in the page
   
   ```yaml
   apiVersion: v1
   kind: ConfigMap
   metadata:
     name: fe-configmap
     labels:
       app.kubernetes.io/component: fe
   data:
     fe.conf: |
       CUR_DATE=`date +%Y%m%d-%H%M%S`
       # Log dir
       LOG_DIR = ${DORIS_HOME}/log
       # For jdk 17, this JAVA_OPTS will be used as default JVM options
       JAVA_OPTS_FOR_JDK_17="-Djavax.security.auth.useSubjectCredsOnly=false 
-Xmx8192m -Xms8192m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$LOG_DIR 
-Xlog:gc*:$LOG_DIR/fe.gc.log.$CUR_DATE:time,uptime:filecount=10,filesize=50M 
--add-opens=java.base/java.nio=ALL-UNNAMED --add-opens 
java.base/jdk.internal.ref=ALL-UNNAMED"
       # INFO, WARN, ERROR, FATAL
       sys_log_level = INFO
       # NORMAL, BRIEF, ASYNC
       sys_log_mode = NORMAL
       # Default dirs to put jdbc drivers,default value is 
${DORIS_HOME}/jdbc_drivers
       # jdbc_drivers_dir = ${DORIS_HOME}/jdbc_drivers
       http_port = 8030
       rpc_port = 9020
       query_port = 9030
       edit_log_port = 9010
       enable_fqdn_mode=true
       deploy_mode = cloud
   ```
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to