More resource tweaks

This commit is contained in:
Marcus Noble 2020-06-05 22:51:40 +01:00
parent f0d29be3f7
commit 471b6bc67e
8 changed files with 19 additions and 14 deletions

View File

@ -36,8 +36,11 @@ spec:
name: web name: web
resources: resources:
limits: limits:
memory: 20Mi memory: 10Mi
cpu: 10m cpu: 5m
requests:
memory: 10Mi
cpu: 5m
--- ---
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress

View File

@ -44,10 +44,10 @@ spec:
resources: resources:
limits: limits:
cpu: 25m cpu: 25m
memory: 250Mi memory: 100Mi
requests: requests:
cpu: 25m cpu: 25m
memory: 250Mi memory: 100Mi
--- ---
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress

View File

@ -69,10 +69,10 @@ spec:
resources: resources:
limits: limits:
cpu: 25m cpu: 25m
memory: 250Mi memory: 50Mi
requests: requests:
cpu: 25m cpu: 25m
memory: 250Mi memory: 50Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service

View File

@ -23,7 +23,7 @@ metadata:
name: cors-proxy name: cors-proxy
namespace: cors-proxy namespace: cors-proxy
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: cors-proxy app: cors-proxy

View File

@ -59,10 +59,10 @@ spec:
resources: resources:
limits: limits:
cpu: 25m cpu: 25m
memory: 250Mi memory: 50Mi
requests: requests:
cpu: 25m cpu: 25m
memory: 250Mi memory: 50Mi
--- ---
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress

View File

@ -36,10 +36,10 @@ spec:
resources: resources:
limits: limits:
cpu: 25m cpu: 25m
memory: 250Mi memory: 100Mi
requests: requests:
cpu: 25m cpu: 25m
memory: 250Mi memory: 100Mi
--- ---

View File

@ -20,3 +20,5 @@ spec:
maxHistory: 4 maxHistory: 4
values: values:
installVPA: true installVPA: true
dashboard:
replicaCount: 1

View File

@ -25,7 +25,7 @@ metadata:
name: qr name: qr
namespace: qr namespace: qr
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: qr app: qr
@ -44,10 +44,10 @@ spec:
resources: resources:
limits: limits:
cpu: 25m cpu: 25m
memory: 250Mi memory: 100Mi
requests: requests:
cpu: 25m cpu: 25m
memory: 250Mi memory: 100Mi
--- ---
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress