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: resources:
limits: limits:
memory: 10Mi memory: 10Mi
cpu: 5m
requests: requests:
memory: 10Mi memory: 10Mi
cpu: 5m
--- ---
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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