aboutsummaryrefslogtreecommitdiffstats
path: root/performanceTests/k8s/influxdb/deployment.yaml
diff options
context:
space:
mode:
authorPawel Kasperkiewicz <pawel.kasperkiewicz@nokia.com>2020-06-04 16:56:48 +0200
committerAdam Wudzinski <adam.wudzinski@nokia.com>2020-06-04 18:52:41 +0200
commit3b6ba181623e844d5012362209d2f29616315395 (patch)
tree703abb4398d4a8e328acdaace390c140192fd5b7 /performanceTests/k8s/influxdb/deployment.yaml
parent36e09e63f779b5ebec4391f1a444ef214850e2fe (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/influxdb/deployment.yaml')
-rw-r--r--performanceTests/k8s/influxdb/deployment.yaml20
1 files changed, 19 insertions, 1 deletions
diff --git a/performanceTests/k8s/influxdb/deployment.yaml b/performanceTests/k8s/influxdb/deployment.yaml
index 3b039227..a1782973 100644
--- a/performanceTests/k8s/influxdb/deployment.yaml
+++ b/performanceTests/k8s/influxdb/deployment.yaml
@@ -39,6 +39,18 @@ spec:
env:
- name: INFLUXDB_DB
value: "jmeter"
+ volumeMounts:
+ - name: ves-influxdb-conf
+ mountPath: /etc/influxdb
+ - name: ves-influxdb-types
+ mountPath: /usr/share/collectd
+ volumes:
+ - name: ves-influxdb-conf
+ configMap:
+ name: ves-influxdb-conf
+ - name: ves-influxdb-types
+ configMap:
+ name: ves-influxdb-types
---
apiVersion: v1
kind: Service
@@ -53,5 +65,11 @@ spec:
type: NodePort
ports:
- port: 8086
+ name: influx-db
targetPort: 8086
- nodePort: 30002 \ No newline at end of file
+ nodePort: 30002
+ - port: 25826
+ protocol: UDP
+ name: collectd-port
+ targetPort: 25826
+ nodePort: 30003 \ No newline at end of file