feat(clickhouse): deploy cluster
All checks were successful
Renovate / renovate (push) Successful in 1m44s

This commit is contained in:
Peter 2024-11-26 20:33:39 +01:00
parent ad30bc870a
commit beabaa83a1
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -0,0 +1,35 @@
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
name: "plausible-db"
spec:
defaults:
templates:
dataVolumeClaimTemplate: data-volume-template
logVolumeClaimTemplate: log-volume-template
configuration:
users:
plausible/password_sha256_hex: a374efcf8b9693f8d28dd4f097d199f0005903dfb9728ade188f0c30b4827078
clusters:
- name: "plausible"
layout:
shardsCount: 1
replicasCount: 1
templates:
volumeClaimTemplates:
- name: data-volume-template
spec:
storageClassName: "hcloud-volumes"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
- name: log-volume-template
spec:
storageClassName: "hcloud-blob"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi