Added resource support for DAaaS prometheus 64/90764/2
authorLianhao Lu <lianhao.lu@intel.com>
Tue, 2 Jul 2019 07:54:05 +0000 (15:54 +0800)
committerGary Wu <gary.wu@futurewei.com>
Mon, 8 Jul 2019 17:40:31 +0000 (17:40 +0000)
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>
vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml
vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml

index 27c97d1..862e865 100644 (file)
@@ -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.
index f0c1192..b3e685c 100644 (file)
@@ -38,6 +38,7 @@ prometheus:
           interval: 10s
           path: /metrics
  
+  resources: {}
   service:
     annotations: {}
     labels: {}