summaryrefslogtreecommitdiffstats
path: root/performanceTests/k8s/Makefile
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-06-11 20:39:21 +0000
committerGerrit Code Review <gerrit@onap.org>2020-06-11 20:39:21 +0000
commit4529faa9cdbc16209cbca24a964d709552c9fe2d (patch)
tree16d414397a7232e196219a47230c5cef48bc3bdf /performanceTests/k8s/Makefile
parent85e7a08c4b64fcd832387a9d5b80b7f4624a3afd (diff)
parent3b6ba181623e844d5012362209d2f29616315395 (diff)
Merge "Add CPU/RAM measurements collection"
Diffstat (limited to 'performanceTests/k8s/Makefile')
-rw-r--r--performanceTests/k8s/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/performanceTests/k8s/Makefile b/performanceTests/k8s/Makefile
index 86399cf0..bb9f061b 100644
--- a/performanceTests/k8s/Makefile
+++ b/performanceTests/k8s/Makefile
@@ -15,6 +15,10 @@ DASHBOARD_CONFIGMAP = dashboard.yaml
#INFLUXDB configuration
INFLUXDB_DIRECTORY = ./influxdb
INFLUXDB_DEPLOYMENT = deployment.yaml
+INFLUXDB_CONFIGMAP = configmap.yaml
+
+#Node exporter configuration
+NODE_EXPORTER = node-exporter.yaml
clear:
@echo "\n##### Delete configmaps and $(GRAFANA_DEPLOYMENT)(grafana, prometheus)#####"
@@ -25,6 +29,8 @@ clear:
kubectl delete -f $(PROMETHEUS_DIRECTORY)/$(PROMETHEUS_DEPLOYMENT) || true
kubectl delete -f $(PROMETHEUS_DIRECTORY)/$(PROMETHEUS_CONFIGMAP) || true
kubectl delete -f $(INFLUXDB_DIRECTORY)/$(INFLUXDB_DEPLOYMENT) || true
+ kubectl delete -f $(INFLUXDB_DIRECTORY)/$(INFLUXDB_CONFIGMAP) || true
+ kubectl delete -f $(NODE_EXPORTER) || true
@echo "##### DONE #####"
create-configmaps:
@@ -32,6 +38,8 @@ create-configmaps:
kubectl apply -f $(PROMETHEUS_DIRECTORY)/$(PROMETHEUS_CONFIGMAP)
kubectl apply -f $(GRAFANA_DIRECTORY)/$(DATASOURCE_CONFIGMAP)
kubectl apply -f $(GRAFANA_DIRECTORY)/$(DASHBOARD_PROVIDER_CONFIGMAP)
+ kubectl apply -f $(INFLUXDB_DIRECTORY)/$(INFLUXDB_CONFIGMAP)
+ kubectl apply -f $(NODE_EXPORTER)
kubectl create configmap ves-grafana-dashboards -n onap --from-file grafana/dashboards/
@echo "##### DONE #####"