apps/plausible/resources/clickhouse/events-db.yaml

39 lines
993 B
YAML
Raw Normal View History

2024-11-26 19:33:39 +00:00
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
name: "events-db"
2024-11-26 19:33:39 +00:00
spec:
defaults:
templates:
dataVolumeClaimTemplate: data-volume-template
logVolumeClaimTemplate: log-volume-template
configuration:
users:
plausible/password_sha256_hex: 772a9686f7ddf4b83dbcba413205be25e45f60557c1a6f54440c4a66783462c2
plausible/networks/ip:
- 0.0.0.0/0
2024-11-26 19:33:39 +00:00
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