forked from VictoriaMetrics/prometheus-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (18 loc) · 723 Bytes
/
Makefile
File metadata and controls
25 lines (18 loc) · 723 Bytes
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
include services/vmagent-config-updater/Makefile
# k8s namespace for installing the chart
# It can be overriden via NAMESPACE environment variable
NAMESPACE ?= vm-benchmark
# the deployment prefix
CHART_NAME := my-bench
# print resulting manifests to console without applying them
debug:
helm install --dry-run --debug $(CHART_NAME) -n $(NAMESPACE) chart/
# install the chart to configured namespace
install:
helm upgrade -i $(CHART_NAME) -n $(NAMESPACE) --create-namespace chart/
# delete the chart from configured namespace
delete:
helm uninstall $(CHART_NAME) -n $(NAMESPACE)
monitor:
kubectl -n $(NAMESPACE) port-forward deployment/$(CHART_NAME)-prometheus-benchmark-vmsingle 8428
re-install: delete install