Verified Commit 53d42663 authored by Bence Nagy's avatar Bence Nagy

Set resource limits on everything

parent ba8666c9
......@@ -36,3 +36,10 @@ spec:
secretKeyRef:
name: datadog-auth-token
key: token
resources:
limits:
cpu: 50m
memory: 128Mi
requests:
cpu: 10m
memory: 32Mi
......@@ -29,3 +29,10 @@ spec:
secretKeyRef:
name: cloudflare-api-key
key: key
resources:
limits:
cpu: 50m
memory: 64Mi
requests:
cpu: 10m
memory: 16Mi
......@@ -91,6 +91,13 @@ spec:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 50m
memory: 256Mi
---
apiVersion: v1
kind: Service
......
......@@ -25,3 +25,10 @@ spec:
value: auto
- name: CONCURRENT_ITEMS
value: "8"
resources:
limits:
cpu: 200m
memory: 128Mi
requests:
cpu: 50m
memory: 64Mi
......@@ -46,6 +46,13 @@ spec:
port: 6697
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 50m
memory: 32Mi
requests:
cpu: 20m
memory: 4Mi
volumes:
- name: znc-config
persistentVolumeClaim:
......
......@@ -75,11 +75,11 @@ spec:
key: FF_APP_KEY
resources:
limits:
cpu: 100m
memory: 256Mi
cpu: 200m
memory: 512Mi
requests:
cpu: 10m
memory: 32Mi
memory: 128Mi
volumeMounts:
- mountPath: /var/www/firefly-iii/storage/export
name: firefly-export
......
......@@ -42,7 +42,7 @@ spec:
mountPath: /fs
containers:
- name: app
image: linuxserver/bazarr:c61b467e-ls28
image: linuxserver/bazarr:v0.7.4-ls34
ports:
- containerPort: 6767
env:
......@@ -67,6 +67,13 @@ spec:
port: 6767
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 50m
memory: 256Mi
volumes:
- name: bazarr-config
persistentVolumeClaim:
......
......@@ -42,7 +42,7 @@ spec:
mountPath: /fs
containers:
- name: app
image: linuxserver/deluge:36ed55be-ls17
image: linuxserver/deluge:78da80ca-ls20
ports:
- containerPort: 8112
- containerPort: 45401
......@@ -89,6 +89,13 @@ spec:
port: 8112
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 1000m
memory: 2Gi
requests:
cpu: 200m
memory: 512Mi
volumes:
- name: deluge-config
persistentVolumeClaim:
......
......@@ -35,7 +35,7 @@ spec:
spec:
containers:
- name: app
image: linuxserver/jackett:v0.11.223-ls6
image: linuxserver/jackett:v0.11.341-ls10
ports:
- containerPort: 9117
env:
......@@ -55,6 +55,13 @@ spec:
port: 9117
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 50m
memory: 256Mi
volumes:
- name: jackett-config
persistentVolumeClaim:
......
......@@ -94,6 +94,13 @@ spec:
port: 32400
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 4000m
memory: 2Gi
requests:
cpu: 1000m
memory: 1Gi
volumes:
- name: plex-config
persistentVolumeClaim:
......
......@@ -42,7 +42,7 @@ spec:
mountPath: /fs
containers:
- name: app
image: linuxserver/radarr:0.2.0.1331-ls11
image: linuxserver/radarr:0.2.0.1349-ls1
ports:
- containerPort: 7878
env:
......@@ -67,6 +67,13 @@ spec:
port: 7878
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 50m
memory: 256Mi
volumes:
- name: radarr-config
persistentVolumeClaim:
......
......@@ -23,6 +23,8 @@ metadata:
app: sonarr
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: sonarr
......@@ -31,9 +33,16 @@ spec:
labels:
app: sonarr
spec:
initContainers:
- name: set-up-filesystem-mount
image: busybox:1
command: ["mkdir", "-p", "/fs/media"]
volumeMounts:
- name: fs-root
mountPath: /fs
containers:
- name: app
image: linuxserver/sonarr:3.0.1.441-ls51
image: linuxserver/sonarr:3.0.1.497-ls74
ports:
- containerPort: 8989
env:
......@@ -58,10 +67,25 @@ spec:
port: 8989
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 50m
memory: 256Mi
volumes:
- name: sonarr-config
persistentVolumeClaim:
claimName: sonarr-config-pvc
- name: fs-root
flexVolume:
driver: ceph.rook.io/rook
fsType: ceph
options:
fsName: media-fs
clusterNamespace: rook-ceph
path: /
- name: sonarr-media
flexVolume:
driver: ceph.rook.io/rook
......@@ -69,6 +93,7 @@ spec:
options:
fsName: media-fs
clusterNamespace: rook-ceph
path: /media
- name: localtime
hostPath:
path: /etc/localtime
......
......@@ -27,6 +27,13 @@ spec:
- name: mumbledj-config
mountPath: /etc/mumbledj
readOnly: true
resources:
limits:
cpu: 100m
memory: 64Mi
requests:
cpu: 20m
memory: 32Mi
volumes:
- name: mumbledj-cache
emptyDir: {}
......
......@@ -61,6 +61,13 @@ spec:
port: 64738
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 100m
memory: 64Mi
requests:
cpu: 20m
memory: 8Mi
volumes:
- name: murmur-db
persistentVolumeClaim:
......
......@@ -25,6 +25,13 @@ spec:
port: 80
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 50m
memory: 32Mi
requests:
cpu: 10m
memory: 2Mi
---
kind: Service
apiVersion: v1
......
......@@ -85,6 +85,13 @@ spec:
port: 22
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 10m
memory: 4Mi
requests:
cpu: 5m
memory: 1Mi
volumes:
- name: fs-root
flexVolume:
......@@ -156,6 +163,13 @@ spec:
- name: images
mountPath: /usr/share/nginx/html
readOnly: yes
resources:
limits:
cpu: 50m
memory: 32Mi
requests:
cpu: 10m
memory: 2Mi
volumes:
- name: images
flexVolume:
......
......@@ -32,6 +32,13 @@ spec:
path: /sample
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 50m
memory: 64Mi
requests:
cpu: 10m
memory: 16Mi
---
kind: Service
apiVersion: v1
......
......@@ -25,6 +25,13 @@ spec:
port: 80
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 50m
memory: 32Mi
requests:
cpu: 10m
memory: 2Mi
---
kind: Service
apiVersion: v1
......
......@@ -25,6 +25,13 @@ spec:
port: 80
initialDelaySeconds: 30
periodSeconds: 30
resources:
limits:
cpu: 50m
memory: 32Mi
requests:
cpu: 10m
memory: 2Mi
---
kind: Service
apiVersion: v1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment