Ver Fonte

保存,防止测试修改

yawyd há 1 ano atrás
pai
commit
61041313ee
1 ficheiros alterados com 9 adições e 23 exclusões
  1. 9 23
      clickhouse/values.yaml

+ 9 - 23
clickhouse/values.yaml

@@ -185,8 +185,12 @@ customStartupProbe: {}
 ## @param resources.requests The requested resources for the ClickHouse containers
 ##
 resources:
-  limits: {}
-  requests: {}
+  limits: 
+    cpu: 3000m
+    memory: 6Gi
+  requests:
+    cpu: 2000m
+    memory: 4Gi
 ## Configure Pods Security Context
 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
 ## @param podSecurityContext.enabled Enabled ClickHouse pods' Security Context
@@ -355,6 +359,8 @@ defaultConfigurationOverridesUsers: |
 defaultConfigurationOverrides: |
   <clickhouse>
     <!-- Macros -->
+    <max_concurrent_queries>500</max_concurrent_queries>
+    <max_connections>4096</max_connections>
     <macros>
       <shard from_env="CLICKHOUSE_SHARD_ID"></shard>
       <replica from_env="CLICKHOUSE_REPLICA_ID"></replica>
@@ -693,7 +699,7 @@ tls:
 service:
   ## @param service.type ClickHouse service type
   ##
-  type: ClusterIP
+  type: NodePort
   ## @param service.ports.http ClickHouse service HTTP port
   ## @param service.ports.https ClickHouse service HTTPS port
   ## @param service.ports.tcp ClickHouse service TCP port
@@ -708,16 +714,6 @@ service:
   ##
   ports:
     http: 8123
-    https: 443
-    tcp: 9000
-    tcpSecure: 9440
-    keeper: 2181
-    keeperSecure: 3181
-    keeperInter: 9444
-    mysql: 9004
-    postgresql: 9005
-    interserver: 9009
-    metrics: 8001
   ## Node ports to expose
   ## @param service.nodePorts.http Node port for HTTP
   ## @param service.nodePorts.https Node port for HTTPS
@@ -734,16 +730,6 @@ service:
   ##
   nodePorts:
     http: ""
-    https: ""
-    tcp: ""
-    tcpSecure: ""
-    keeper: ""
-    keeperSecure: ""
-    keeperInter: ""
-    mysql: ""
-    postgresql: ""
-    interserver: ""
-    metrics: ""
   ## @param service.clusterIP ClickHouse service Cluster IP
   ## e.g.:
   ## clusterIP: None