diff options
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 #####" |