-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 1.05 KB
/
Makefile
File metadata and controls
30 lines (24 loc) · 1.05 KB
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
start:
minikube start --nodes 2 -p multinode-demo --force
stop:
minikube stop -p multinode-demo
run:
helm install prometheus-operator prometheus-community/kube-prometheus-stack -f kubernetes-prometheus/values.yaml --namespace monitoring --create-namespace
kubectl apply -f "kubernetes-node-exporter/*.yaml"
kubectl apply -f "kube-state-metrics-configs/*.yaml"
kubectl apply -f "kubernetes-grafana/*.yaml"
kubectl apply -f "otel-collector/*.yaml"
kubectl apply -f "plugin-api-otel/k8s/*.yaml"
run-php:
kubectl apply -f "generate-load/*.yaml"
delete-php:
kubectl delete -f "generate-load/*.yaml"
run-load:
kubectl run -i --tty load-generator --rm --image=busybox:1.28 --restart=Never -- /bin/sh -c "while sleep 0.01; do wget -q -O- http://php-apache; done"
delete:
helm uninstall prometheus-operator -n monitoring
kubectl delete -f "kubernetes-node-exporter/*.yaml"
kubectl delete -f "kube-state-metrics-configs/*.yaml"
kubectl delete -f "kubernetes-grafana/*.yaml"
kubectl delete -f "otel-collector/*.yaml"
kubectl delete -f "plugin-api-otel/k8s/*.yaml"