diff options
author | Pawel Kasperkiewicz <pawel.kasperkiewicz@nokia.com> | 2020-06-04 16:56:48 +0200 |
---|---|---|
committer | Adam Wudzinski <adam.wudzinski@nokia.com> | 2020-06-04 18:52:41 +0200 |
commit | 3b6ba181623e844d5012362209d2f29616315395 (patch) | |
tree | 703abb4398d4a8e328acdaace390c140192fd5b7 /performanceTests/k8s/Makefile | |
parent | 36e09e63f779b5ebec4391f1a444ef214850e2fe (diff) |
Add CPU/RAM measurements collection
Add mechanism for CPU/RAM measurements collection from k8s nodes and from JMeter VM
Issue-ID: DCAEGEN2-608
Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
Change-Id: I78af2906254a19da383c7bae9ec919eadd326873
Diffstat (limited to 'performanceTests/k8s/Makefile')
-rw-r--r-- | performanceTests/k8s/Makefile | 8 |
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 #####" |