aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2019-07-02 15:54:05 +0800
committerGary Wu <gary.wu@futurewei.com>2019-07-08 17:40:31 +0000
commite572d10757521a870f02c3524388de48f4418deb (patch)
tree522defeae8070e2b7e12de9222b142eb219cef06
parent5cbe653d94ff73d172f95f701856235c184c4657 (diff)
Added resource support for DAaaS prometheus
Added the day-0 config for DAaaS prometheus resource limits/requests. Change-Id: I017dcd5259c4616c2940bd6fbefdf0fd72092643 Issue-ID: ONAPARC-366 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
-rw-r--r--vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml2
-rw-r--r--vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml1
2 files changed, 3 insertions, 0 deletions
diff --git a/vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml b/vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml
index 27c97d10..862e8650 100644
--- a/vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml
+++ b/vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml
@@ -15,6 +15,8 @@ spec:
serviceMonitorNamespaceSelector:
matchNames:
- {{ .Release.Namespace | quote }}
+ resources:
+{{ toYaml .Values.prometheus.resources | indent 4 }}
# TODO: Templatizing multiple remote read/write.
# Especially Kafka adapater.
diff --git a/vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml b/vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml
index f0c11921..b3e685c5 100644
--- a/vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml
+++ b/vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml
@@ -38,6 +38,7 @@ prometheus:
interval: 10s
path: /metrics
+ resources: {}
service:
annotations: {}
labels: {}