Skip to content

Commit

Permalink
Merge pull request #344 from hodgesrm/master
Browse files Browse the repository at this point in the history
Added sample cluster config to demo monitoring
  • Loading branch information
alex-zaitsev authored Apr 15, 2020
2 parents 948a9de + d0d26c1 commit a9ed496
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions docs/chi-examples/17-monitoring-cluster-01.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
name: "monitoring-demo"
spec:
configuration:
zookeeper:
nodes:
- host: zookeeper.zoo1ns
port: 2181
clusters:
- name: replcluster
templates:
podTemplate: clickhouse-with-volume-template
layout:
shardsCount: 2
replicasCount: 2
templates:
podTemplates:
- name: clickhouse-with-volume-template
spec:
containers:
- name: clickhouse-pod
image: yandex/clickhouse-server:19.16.10.44
volumeMounts:
- name: clickhouse-storage-template
mountPath: /var/lib/clickhouse
volumeClaimTemplates:
- name: clickhouse-storage-template
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi

0 comments on commit a9ed496

Please sign in to comment.