mirror of
https://github.com/zoriya/snow.git
synced 2025-12-06 07:16:19 +00:00
Add clickhouse
This commit is contained in:
@@ -21,4 +21,6 @@ spec:
|
|||||||
chart: altinity-clickhouse-operator
|
chart: altinity-clickhouse-operator
|
||||||
targetRevision: 0.25.5
|
targetRevision: 0.25.5
|
||||||
helm:
|
helm:
|
||||||
valuesObject: {}
|
valuesObject:
|
||||||
|
rbac:
|
||||||
|
namespaceScoped: false
|
||||||
|
|||||||
20
apps/clickhouse.yaml
Normal file
20
apps/clickhouse.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: clickhouse
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: clickhouse
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: false
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
source:
|
||||||
|
repoURL: https://github.com/zoriya/snow
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: apps/clickhouse
|
||||||
32
apps/clickhouse/cluster.yaml
Normal file
32
apps/clickhouse/cluster.yaml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
apiVersion: clickhouse.altinity.com/v1
|
||||||
|
kind: ClickHouseInstallation
|
||||||
|
metadata:
|
||||||
|
name: otel-cluster
|
||||||
|
spec:
|
||||||
|
templates:
|
||||||
|
podTemplates:
|
||||||
|
- name: clickhouse-pod-template
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: clickhouse
|
||||||
|
image: altinity/clickhouse-server:25.3.6.10034.altinitystable
|
||||||
|
volumeMounts:
|
||||||
|
- name: clickhouse-storage
|
||||||
|
mountPath: /var/lib/clickhouse
|
||||||
|
volumeClaimTemplates:
|
||||||
|
- name: clickhouse-storage
|
||||||
|
reclaimPolicy: Retain
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
|
configuration:
|
||||||
|
clusters:
|
||||||
|
- name: otel-cluster
|
||||||
|
layout:
|
||||||
|
shardsCount: 1
|
||||||
|
replicasCount: 1
|
||||||
|
templates:
|
||||||
|
podTemplate: clickhouse-pod-template
|
||||||
Reference in New Issue
Block a user