Compare commits
3 Commits
b684295b0d
...
12cc447017
| Author | SHA1 | Date | |
|---|---|---|---|
| 12cc447017 | |||
| 18e577fa7b | |||
| e994174b1e |
@ -10,4 +10,5 @@ resources:
|
||||
- ../../../infrastructure/cert-manager/vk-prod
|
||||
- ../../../infrastructure/istio-config/vk-prod
|
||||
- ../../../infrastructure/valkey/vk-prod
|
||||
- ../../../infrastructure/clickhouse/vk-prod
|
||||
- ../../../infrastructure/camunda/vk-prod
|
||||
|
||||
100
infrastructure/clickhouse/vk-prod/clickhouse.yaml
Normal file
100
infrastructure/clickhouse/vk-prod/clickhouse.yaml
Normal file
@ -0,0 +1,100 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: clickhouse
|
||||
namespace: clickhouse
|
||||
spec:
|
||||
interval: 5m
|
||||
timeout: 15m
|
||||
chart:
|
||||
spec:
|
||||
chart: clickhouse-altinity
|
||||
version: "0.2.0"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: yc-oci-charts
|
||||
namespace: flux-system
|
||||
interval: 10m
|
||||
install:
|
||||
crds: CreateReplace
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
crds: CreateReplace
|
||||
remediation:
|
||||
retries: 0
|
||||
remediateLastFailure: false
|
||||
values:
|
||||
operator:
|
||||
enabled: true
|
||||
altinity-clickhouse-operator:
|
||||
watchNamespaces:
|
||||
- clickhouse
|
||||
installations:
|
||||
ch-bim-v2:
|
||||
cluster: default
|
||||
replicas: 2
|
||||
zoneSpread: true
|
||||
usersSecret: ch-bim-v2-users
|
||||
initDatabases: true
|
||||
admin: true
|
||||
nodeSelector:
|
||||
dedicated: generic
|
||||
resources:
|
||||
requests:
|
||||
cpu: "1"
|
||||
memory: 4Gi
|
||||
limits:
|
||||
memory: 8Gi
|
||||
storage:
|
||||
size: 50Gi
|
||||
storageClass: csi-ceph-ssd-retain
|
||||
keeper:
|
||||
enabled: true
|
||||
replicas: 3
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 1Gi
|
||||
limits:
|
||||
memory: 2Gi
|
||||
storage:
|
||||
size: 10Gi
|
||||
storageClass: csi-ceph-ssd-retain
|
||||
users:
|
||||
- name: bim-mcp-user
|
||||
databases:
|
||||
- bim-db
|
||||
- name: bim-mcp-user-milekhin
|
||||
databases:
|
||||
- bim-db
|
||||
settings:
|
||||
readonly: "2"
|
||||
allow_ddl: false
|
||||
max_bytes_before_external_group_by: "536870912"
|
||||
max_bytes_before_external_sort: "536870912"
|
||||
max_threads: "8"
|
||||
max_memory_usage: "2147483648"
|
||||
max_rows_to_read: "100000000"
|
||||
max_bytes_to_read: "10737418240"
|
||||
max_rows_to_group_by: "1000000"
|
||||
max_result_rows: "10001"
|
||||
max_result_bytes: "10485760"
|
||||
max_rows_in_join: "10000000"
|
||||
max_bytes_in_join: "1073741824"
|
||||
max_query_size: "1048576"
|
||||
max_ast_depth: "64"
|
||||
max_ast_elements: "5000"
|
||||
max_insert_threads: "8"
|
||||
- name: bim-mcp-user-v2
|
||||
databases:
|
||||
- bim-db
|
||||
- name: bim-service
|
||||
databases:
|
||||
- bim-db
|
||||
- name: bim-service-v2
|
||||
databases:
|
||||
- bim-db
|
||||
- name: bim_user
|
||||
databases:
|
||||
- bim-db
|
||||
5
infrastructure/clickhouse/vk-prod/kustomization.yaml
Normal file
5
infrastructure/clickhouse/vk-prod/kustomization.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- clickhouse.yaml
|
||||
6
infrastructure/clickhouse/vk-prod/namespace.yaml
Normal file
6
infrastructure/clickhouse/vk-prod/namespace.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: clickhouse
|
||||
labels:
|
||||
istio-injection: disabled
|
||||
Loading…
Reference in New Issue
Block a user