feat(clickhouse): deploy cluster
All checks were successful
Renovate / renovate (push) Successful in 53s
All checks were successful
Renovate / renovate (push) Successful in 53s
This commit is contained in:
parent
ad30bc870a
commit
d777e5e510
3 changed files with 49 additions and 12 deletions
|
@ -6,6 +6,7 @@ namespace: clickhouse-system
|
||||||
resources:
|
resources:
|
||||||
- resources/namespace.yaml
|
- resources/namespace.yaml
|
||||||
- https://raw.githubusercontent.com/Altinity/clickhouse-operator/master/deploy/operator/clickhouse-operator-install-bundle.yaml
|
- https://raw.githubusercontent.com/Altinity/clickhouse-operator/master/deploy/operator/clickhouse-operator-install-bundle.yaml
|
||||||
|
- resources/plausible-db.yaml
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
- patch: |-
|
- patch: |-
|
||||||
|
|
35
clickhouse/resources/plausible-db.yaml
Normal file
35
clickhouse/resources/plausible-db.yaml
Normal 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
|
1
plausible/pw
Normal file
1
plausible/pw
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ToLqfKE7y4wFvVbz
|
Loading…
Reference in a new issue