-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
61 lines (41 loc) · 2 KB
/
Makefile
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.PHONY: create delete create-argocd upgrade-argocd delete-argocd create-metrics-server upgrade-metrics-server delte-metrics-server
create:
kind create cluster --config config.yaml
delete:
kind delete cluster
create-argocd:
helm install argocd argo/argo-cd -n argocd --create-namespace -f charts/argocd/values.yaml
upgrade-argocd:
helm upgrade argocd argo/argo-cd -n argocd -f charts/argocd/values.yaml
delete-argocd:
helm uninstall argocd -n argocd --delete-namespace
create-metrics-server:
helm install metrics-server metrics-server/metrics-server -n kube-system -f charts/metrics-server/values.yaml
upgrade-metrics-server:
helm upgrade metrics-server metrics-server -n kube-system -f charts/metrics-server/values.yaml
delete-metrics-server:
helm uninstall metrics-server -n kube-system
create-prometheus-stack:
helm install prometheus-stack prometheus-community/kube-prometheus-stack -n prometheus --create-namespace -f charts/prometheus-stack/values.yaml
upgrade-prometheus-stack:
helm upgrade prometheus-stack prometheus-community/kube-prometheus-stack -n prometheus -f charts/prometheus-stack/values.yaml
delete-prometheus-stack:
helm uninstall prometheus-stack -n prometheus --delete-namespace
create-jaeger:
kubectl apply -f manifests/jaeger/values.yaml
delete-jaeger:
kubectl delete -f manifests/jaeger/values.yaml
create-odigos:
kubectl apply -f labs/odigos/values.yaml
delete-odigos:
kubectl delete -f labs/odigos/values.yaml
create-prometheus-adapter:
helm install prometheus-adapter prometheus-community/prometheus-adapter -n custom-metrics --create-namespace -f charts/prometheus-adapter/values.yaml
delete-prometheus-adapter:
helm uninstall prometheus-adapter -n custom-metrics --delete-namespace
create-jaeger-stack:
helm install jaeger jaegertracing/jaeger -n observability --create-namespace -f charts/jaeger/values.yaml
upgrade-jaeger-stack:
helm upgrade jaeger jaegertracing/jaeger -n observability -f charts/jaeger/values.yaml
delete-jaeger-stack:
helm uninstall jaeger -n observability