From 471b6bc67e2837ea4571c466f10ff48424e2cb10 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Fri, 5 Jun 2020 22:51:40 +0100 Subject: [PATCH] More resource tweaks --- manifests/blackhole.yaml | 7 +++++-- manifests/blog.yaml | 4 ++-- manifests/cctv.yaml | 4 ++-- manifests/cors-proxy.yaml | 2 +- manifests/dashboard.yaml | 4 ++-- manifests/ghost_chart.yaml | 4 ++-- manifests/goldilocks_chart.yaml | 2 ++ manifests/qr.yaml | 6 +++--- 8 files changed, 19 insertions(+), 14 deletions(-) diff --git a/manifests/blackhole.yaml b/manifests/blackhole.yaml index 6dd37d2..f219066 100644 --- a/manifests/blackhole.yaml +++ b/manifests/blackhole.yaml @@ -36,8 +36,11 @@ spec: name: web resources: limits: - memory: 20Mi - cpu: 10m + memory: 10Mi + cpu: 5m + requests: + memory: 10Mi + cpu: 5m --- apiVersion: extensions/v1beta1 kind: Ingress diff --git a/manifests/blog.yaml b/manifests/blog.yaml index b1d6cf4..524ea1d 100644 --- a/manifests/blog.yaml +++ b/manifests/blog.yaml @@ -44,10 +44,10 @@ spec: resources: limits: cpu: 25m - memory: 250Mi + memory: 100Mi requests: cpu: 25m - memory: 250Mi + memory: 100Mi --- apiVersion: extensions/v1beta1 kind: Ingress diff --git a/manifests/cctv.yaml b/manifests/cctv.yaml index 1cbba3f..b4a24ec 100644 --- a/manifests/cctv.yaml +++ b/manifests/cctv.yaml @@ -69,10 +69,10 @@ spec: resources: limits: cpu: 25m - memory: 250Mi + memory: 50Mi requests: cpu: 25m - memory: 250Mi + memory: 50Mi --- apiVersion: v1 kind: Service diff --git a/manifests/cors-proxy.yaml b/manifests/cors-proxy.yaml index 4216b0b..66cd0ac 100644 --- a/manifests/cors-proxy.yaml +++ b/manifests/cors-proxy.yaml @@ -23,7 +23,7 @@ metadata: name: cors-proxy namespace: cors-proxy spec: - replicas: 2 + replicas: 1 selector: matchLabels: app: cors-proxy diff --git a/manifests/dashboard.yaml b/manifests/dashboard.yaml index 9479715..3bac068 100644 --- a/manifests/dashboard.yaml +++ b/manifests/dashboard.yaml @@ -59,10 +59,10 @@ spec: resources: limits: cpu: 25m - memory: 250Mi + memory: 50Mi requests: cpu: 25m - memory: 250Mi + memory: 50Mi --- apiVersion: extensions/v1beta1 kind: Ingress diff --git a/manifests/ghost_chart.yaml b/manifests/ghost_chart.yaml index c52196d..0acf63a 100644 --- a/manifests/ghost_chart.yaml +++ b/manifests/ghost_chart.yaml @@ -36,10 +36,10 @@ spec: resources: limits: cpu: 25m - memory: 250Mi + memory: 100Mi requests: cpu: 25m - memory: 250Mi + memory: 100Mi --- diff --git a/manifests/goldilocks_chart.yaml b/manifests/goldilocks_chart.yaml index 9e57e7a..6d1d560 100644 --- a/manifests/goldilocks_chart.yaml +++ b/manifests/goldilocks_chart.yaml @@ -20,3 +20,5 @@ spec: maxHistory: 4 values: installVPA: true + dashboard: + replicaCount: 1 diff --git a/manifests/qr.yaml b/manifests/qr.yaml index 01ecea1..06f2226 100644 --- a/manifests/qr.yaml +++ b/manifests/qr.yaml @@ -25,7 +25,7 @@ metadata: name: qr namespace: qr spec: - replicas: 2 + replicas: 1 selector: matchLabels: app: qr @@ -44,10 +44,10 @@ spec: resources: limits: cpu: 25m - memory: 250Mi + memory: 100Mi requests: cpu: 25m - memory: 250Mi + memory: 100Mi --- apiVersion: extensions/v1beta1 kind: Ingress