From 20f88eed106a772ced712d611df9a0de5cd1482d Mon Sep 17 00:00:00 2001 From: Frederic Branczyk <fbranczyk@gmail.com> Date: Wed, 30 Nov 2016 14:28:39 +0100 Subject: [PATCH] *: set lower resource requests --- manifests/examples/example-app/prometheus-frontend.yaml | 7 +++++++ manifests/prometheus/prometheus-k8s.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/manifests/examples/example-app/prometheus-frontend.yaml b/manifests/examples/example-app/prometheus-frontend.yaml index a367ae22..fe3c1cfe 100644 --- a/manifests/examples/example-app/prometheus-frontend.yaml +++ b/manifests/examples/example-app/prometheus-frontend.yaml @@ -11,3 +11,10 @@ spec: - selector: matchLabels: tier: frontend + resources: + requests: + # 2Gi is default, but won't schedule if you don't have a node with >2Gi + # memory. Modify based on your target and time-series count for + # production use. This value is mainly meant for demonstration/testing + # purposes. + memory: 400Mi diff --git a/manifests/prometheus/prometheus-k8s.yaml b/manifests/prometheus/prometheus-k8s.yaml index 0d13f1e1..5f04fbcc 100644 --- a/manifests/prometheus/prometheus-k8s.yaml +++ b/manifests/prometheus/prometheus-k8s.yaml @@ -6,3 +6,10 @@ metadata: prometheus: k8s spec: version: v1.3.0 + resources: + requests: + # 2Gi is default, but won't schedule if you don't have a node with >2Gi + # memory. Modify based on your target and time-series count for + # production use. This value is mainly meant for demonstration/testing + # purposes. + memory: 400Mi -- GitLab