Compare commits

...

2 Commits

Author SHA1 Message Date
471b6bc67e More resource tweaks 2020-06-05 22:51:40 +01:00
f0d29be3f7 Cleanup pipeline runs 2020-06-05 22:49:21 +01:00
9 changed files with 21 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

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

View File

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

View File

@ -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

View File

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

View File

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

View File

@ -53,11 +53,11 @@ data:
rules.yaml: |-
rules:
- id: tekton-tasks
# remove deployments and statefulsets without a label "application"
resources:
- pods
- pipelineruns
jmespath: "(metadata.labels.\"tekton.dev/pipeline\")"
ttl: 1h
ttl: 3h
---

View File

@ -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