-
Notifications
You must be signed in to change notification settings - Fork 18
/
Makefile
43 lines (29 loc) · 862 Bytes
/
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
NAMESPACE := uptrace
RELEASE_NAME := my-uptrace
init:
minikube start
minikube addons enable ingress
create-namespace:
kubectl create namespace $(NAMESPACE)
delete-namespace:
kubectl delete namespace $(NAMESPACE)
debug:
helm install --dry-run --debug $(RELEASE_NAME) ./charts/uptrace
lint:
helm lint --strict --set "cloud=local" ./charts/uptrace
install: create-namespace
helm install $(RELEASE_NAME) ./charts/uptrace -n $(NAMESPACE)
uninstall: delete-namespace
helm uninstall -n $(NAMESPACE) $(RELEASE_NAME)
logs:
kubectl logs my-uptrace-0 -n uptrace
delete: uninstall
kubectl delete all,pvc,cm --all -n $(NAMESPACE)
upgrade:
helm upgrade $(RELEASE_NAME) -n $(NAMESPACE) --create-namespace
list:
kubectl get all -n $(NAMESPACE)
list-all:
kubectl get all,pvc,cm -n $(NAMESPACE)
re-install: delete install
purge: delete delete-namespace