Remove all CPU limitations on pods

This commit is contained in:
Marcus Noble 2020-06-06 15:24:56 +01:00
parent 0f0c30b9be
commit 2f5659def7
19 changed files with 17 additions and 64 deletions

View File

@ -37,10 +37,10 @@ spec:
resources:
limits:
memory: 10Mi
cpu: 5m
requests:
memory: 10Mi
cpu: 5m
---
apiVersion: extensions/v1beta1
kind: Ingress

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: blog
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Service
@ -43,11 +41,9 @@ spec:
name: web
resources:
limits:
cpu: 25m
memory: 100Mi
memory: 200Mi
requests:
cpu: 25m
memory: 100Mi
memory: 200Mi
---
apiVersion: extensions/v1beta1
kind: Ingress

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: buzzers
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Service
@ -43,10 +41,8 @@ spec:
name: web
resources:
limits:
cpu: 25m
memory: 283Mi
requests:
cpu: 25m
memory: 283Mi
---
apiVersion: extensions/v1beta1

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: cctv
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Secret
@ -68,10 +66,8 @@ spec:
protocol: TCP
resources:
limits:
cpu: 25m
memory: 50Mi
requests:
cpu: 25m
memory: 50Mi
---
apiVersion: v1

View File

@ -22,10 +22,10 @@ spec:
installCRDs: "true"
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 20m
memory: 64Mi
---

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: dashboard
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Secret
@ -58,10 +56,8 @@ spec:
name: web
resources:
limits:
cpu: 25m
memory: 50Mi
requests:
cpu: 25m
memory: 50Mi
---
apiVersion: extensions/v1beta1

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: downloads
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Secret
@ -68,10 +66,8 @@ spec:
protocol: TCP
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
---
apiVersion: v1

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: ghost
labels:
goldilocks.fairwinds.com/enabled: "true"
---
@ -35,11 +33,9 @@ spec:
size: 1Gi
resources:
limits:
cpu: 25m
memory: 100Mi
memory: 250Mi
requests:
cpu: 25m
memory: 100Mi
memory: 250Mi
---

View File

@ -80,7 +80,7 @@ spec:
resources:
requests:
memory: 400Mi
cpu: 10m
volumeMounts:
- mountPath: /data
name: git-data

View File

@ -37,25 +37,25 @@ spec:
resources:
requests:
memory: 64Mi
cpu: 10m
core:
resources:
requests:
memory: 64Mi
cpu: 10m
jobservice:
resources:
requests:
memory: 64Mi
cpu: 10m
registry:
registry:
resources:
requests:
memory: 64Mi
cpu: 10m
controller:
resources:
requests:
memory: 64Mi
cpu: 10m

View File

@ -93,7 +93,6 @@ spec:
limits:
memory: 100Mi
requests:
cpu: 5m
memory: 100Mi
securityContext:
readOnlyRootFilesystem: true

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: linx-server
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: ConfigMap

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: logging
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Secret

View File

@ -58,4 +58,4 @@ spec:
resources:
requests:
memory: 500Mi
cpu: 50m

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: node-red
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Secret

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: qr
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Service
@ -43,10 +41,8 @@ spec:
name: web
resources:
limits:
cpu: 25m
memory: 100Mi
requests:
cpu: 25m
memory: 100Mi
---
apiVersion: extensions/v1beta1

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: rss
labels:
goldilocks.fairwinds.com/enabled: "true"
---
kind: PersistentVolumeClaim
apiVersion: v1
@ -69,10 +67,8 @@ spec:
name: web
resources:
limits:
cpu: 25m
memory: 308Mi
requests:
cpu: 25m
memory: 308Mi
volumeMounts:
- mountPath: /data

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: twitter-profile-pic
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Service
@ -43,10 +41,8 @@ spec:
name: web
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
---
apiVersion: extensions/v1beta1

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: website-to-remarkable
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Secret
@ -96,10 +94,10 @@ spec:
protocol: TCP
resources:
limits:
cpu: 12m
memory: 125Mi
requests:
cpu: 12m
memory: 125Mi
- name: web
image: docker.cluster.fun/averagemarcus/website-to-remarkable:latest
@ -115,10 +113,8 @@ spec:
name: web
resources:
limits:
cpu: 12m
memory: 125Mi
requests:
cpu: 12m
memory: 125Mi
---
apiVersion: extensions/v1beta1