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

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

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