forked from Altinity/argocd-examples-clickhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate-stack.sh
executable file
·36 lines (36 loc) · 1.47 KB
/
create-stack.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
NS=${NAMESPACE:-ch}
echo "This command will install the analytic stack in namespace ${NS}"
echo -n "Press enter or ^c to cancel: "
read
set -x
argocd app create clickhouse-operator \
--repo https://github.com/Altinity/argocd-examples-clickhouse.git \
--path apps/clickhouse-operator \
--dest-server https://kubernetes.default.svc --dest-namespace ${NS}
argocd app create prometheus \
--repo https://github.com/Altinity/argocd-examples-clickhouse.git \
--path apps/prometheus \
--dest-server https://kubernetes.default.svc --dest-namespace ${NS}
argocd app create grafana \
--repo https://github.com/Altinity/argocd-examples-clickhouse.git \
--path apps/grafana \
--dest-server https://kubernetes.default.svc --dest-namespace ${NS}
argocd app create zookeeper \
--repo https://github.com/Altinity/argocd-examples-clickhouse.git \
--path apps/zookeeper \
--dest-server https://kubernetes.default.svc --dest-namespace ${NS}
argocd app create clickhouse \
--repo https://github.com/Altinity/argocd-examples-clickhouse.git \
--path apps/clickhouse \
--dest-server https://kubernetes.default.svc --dest-namespace ${NS}
argocd app create cloudbeaver \
--repo https://github.com/Altinity/argocd-examples-clickhouse.git \
--path apps/cloudbeaver \
--dest-server https://kubernetes.default.svc --dest-namespace ${NS}
argocd app sync clickhouse-operator
argocd app sync prometheus
argocd app sync grafana
argocd app sync zookeeper
argocd app sync clickhouse
argocd app sync cloudbeaver