diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2019-07-02 15:54:05 +0800 |
---|---|---|
committer | Gary Wu <gary.wu@futurewei.com> | 2019-07-08 17:40:31 +0000 |
commit | e572d10757521a870f02c3524388de48f4418deb (patch) | |
tree | 522defeae8070e2b7e12de9222b142eb219cef06 /vnfs/DAaaS/deploy/collection/charts/prometheus | |
parent | 5cbe653d94ff73d172f95f701856235c184c4657 (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>
Diffstat (limited to 'vnfs/DAaaS/deploy/collection/charts/prometheus')
-rw-r--r-- | vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml | 2 | ||||
-rw-r--r-- | vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml | 1 |
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: {} |