plastikman commented on issue #58735:
URL: https://github.com/apache/doris/issues/58735#issuecomment-3614374280

   Here is my be-configmap.yaml
   
   `---
   apiVersion: v1
   kind: ConfigMap
   metadata:
     name: be-configmap
     namespace: doris
   data:
     be.conf: |
       # Enable file cache
       # enable_file_cache = true
   
       # JVM options for JDK 17 with module access permissions
       JAVA_OPTS_FOR_JDK_17 = "-XX:+UseContainerSupport 
-XX:MaxRAMPercentage=75.0 
-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-UNNAMED 
--add-opens=java.base/java.net=ALL-UNNAMED 
--add-opens=java.base/java.nio=ALL-UNNAMED 
--add-opens=java.base/java.util=ALL-UNNAMED 
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED 
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED 
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED 
--add-opens=java.base/sun.nio.cs=ALL-UNNAMED"
   `
   
   These were taken from the example, crash happens without anything set or 
with these set.  
   
   Here is my doris-cluster.yaml
   
   `---
   apiVersion: doris.selectdb.com/v1
   kind: DorisCluster
   metadata:
     name: doris-cluster
     namespace: doris
   spec:
     feSpec:
       replicas: 3
       image: apache/doris:fe-3.1.3
       configMapInfo:
         configMapName: fe-configmap
         resolveKey: fe.conf
       startTimeout: 600
       limits:
         cpu: 6
         memory: 12Gi
       requests:
         cpu: 6
         memory: 12Gi
       nodeSelector:
         groupname: core
       tolerations:
       - key: "kubernetes.azure.com/scalesetpriority"
         operator: Equal
         value: spot
         effect: NoSchedule
       affinity:
         nodeAffinity:
           requiredDuringSchedulingIgnoredDuringExecution:
             nodeSelectorTerms:
             - matchExpressions:
               - key: node/type
                 operator: In
                 values:
                 - spot
                 - ondemand
           preferredDuringSchedulingIgnoredDuringExecution:
           - weight: 99
             preference:
               matchExpressions:
               - key: node/type
                 operator: In
                 values:
                 - spot
           - weight: 1
             preference:
               matchExpressions:
               - key: node/type
                 operator: In
                 values:
                 - ondemand
         podAntiAffinity:
           requiredDuringSchedulingIgnoredDuringExecution:
           - labelSelector:
               matchLabels:
                 app.kubernetes.io/component: fe
             topologyKey: kubernetes.io/hostname
       topologySpreadConstraints:
       - maxSkew: 1
         topologyKey: kubernetes.io/hostname
         whenUnsatisfiable: ScheduleAnyway
         labelSelector:
           matchLabels:
             app.kubernetes.io/component: fe
       - maxSkew: 1
         topologyKey: topology.kubernetes.io/zone
         whenUnsatisfiable: DoNotSchedule
         labelSelector:
           matchLabels:
             app.kubernetes.io/component: fe
       persistentVolumes:
       - mountPath: /opt/apache-doris/fe/doris-meta
         name: meta
         persistentVolumeClaimSpec:
           accessModes:
           - ReadWriteOnce
           resources:
             requests:
               storage: 200Gi
           storageClassName: premium-disk
     beSpec:
       replicas: 3
       image: apache/doris:be-3.1.3
       configMapInfo:
         configMapName: be-configmap
         resolveKey: be.conf
       limits:
         cpu: 8
         memory: 16Gi
       requests:
         cpu: 8
         memory: 16Gi
       nodeSelector:
         groupname: core
       tolerations:
       - key: "kubernetes.azure.com/scalesetpriority"
         operator: Equal
         value: spot
         effect: NoSchedule
       affinity:
         nodeAffinity:
           requiredDuringSchedulingIgnoredDuringExecution:
             nodeSelectorTerms:
             - matchExpressions:
               - key: node/type
                 operator: In
                 values:
                 - spot
                 - ondemand
           preferredDuringSchedulingIgnoredDuringExecution:
           - weight: 99
             preference:
               matchExpressions:
               - key: node/type
                 operator: In
                 values:
                 - spot
           - weight: 1
             preference:
               matchExpressions:
               - key: node/type
                 operator: In
                 values:
                 - ondemand
         podAntiAffinity:
           requiredDuringSchedulingIgnoredDuringExecution:
           - labelSelector:
               matchLabels:
                 app.kubernetes.io/component: be
             topologyKey: kubernetes.io/hostname
       topologySpreadConstraints:
       - maxSkew: 1
         topologyKey: kubernetes.io/hostname
         whenUnsatisfiable: ScheduleAnyway
         labelSelector:
           matchLabels:
             app.kubernetes.io/component: be
       - maxSkew: 1
         topologyKey: topology.kubernetes.io/zone
         whenUnsatisfiable: DoNotSchedule
         labelSelector:
           matchLabels:
             app.kubernetes.io/component: be
       persistentVolumes:
       - logNotNeed: true
         mountPath: /opt/apache-doris/be/storage
         name: be-storage
         persistentVolumeClaimSpec:
           accessModes:
           - ReadWriteOnce
           resources:
             requests:
               storage: 1Ti
           storageClassName: premium-disk
   `
   
   Here is my kustomize
   
   `apiVersion: kustomize.config.k8s.io/v1beta1
   kind: Kustomization
   
   namespace: doris
   
   resources:
     - resources/namespace.yaml
     - resources/fe-configmap.yaml
     - resources/be-configmap.yaml
     - resources/doris-cluster.yaml
     - resources/service-fe.yaml
     - resources/service-be.yaml
   
   patches:
   - target:
       kind: Service
       name: doris-fe-service
     patch: |-
       - op: replace
         path: /metadata/annotations
         value:
             service.beta.kubernetes.io/azure-load-balancer-internal: "true"
             service.beta.kubernetes.io/azure-load-balancer-tcp-idle-timeout: 
"1800"
             service.beta.kubernetes.io/azure-load-balancer-tcp-reset: "true"
             service.beta.kubernetes.io/load-balancer-source-ranges: 10.0.0.0/8
   `


-- 
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