Compare commits

...

3 Commits

Author SHA1 Message Date
f18a30cd3e Update website-to-remarkable 2020-06-06 15:54:32 +01:00
34fd00ae91 Remove Chloes blog 2020-06-06 15:54:11 +01:00
2f5659def7 Remove all CPU limitations on pods 2020-06-06 15:24:56 +01:00
19 changed files with 16 additions and 139 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

@ -1,76 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: ghost
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: ghost
namespace: ghost
spec:
chart:
repository: https://charts.bitnami.com/bitnami
name: ghost
version: 10.0.2
maxHistory: 4
values:
ghostHost: www.chloehiggins.co.uk
ghostUsername: chloe
ghostEmail: ghost@chloes.email
ghostBlogTitle: "Chloe's Website"
service:
type: ClusterIP
mariadb:
master:
persistence:
enabled: true
size: 1Gi
persistence:
enabled: true
size: 1Gi
resources:
limits:
cpu: 25m
memory: 100Mi
requests:
cpu: 25m
memory: 100Mi
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ghost
namespace: ghost
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/frontend-entry-points: http,https
traefik.ingress.kubernetes.io/redirect-entry-point: https
traefik.ingress.kubernetes.io/redirect-permanent: "true"
spec:
tls:
- hosts:
- www.chloehiggins.co.uk
- chloehiggins.co.uk
secretName: ghost-ingress
rules:
- host: www.chloehiggins.co.uk
http:
paths:
- path: /
backend:
serviceName: ghost-ghost
servicePort: 80
- host: chloehiggins.co.uk
http:
paths:
- path: /
backend:
serviceName: ghost-ghost
servicePort: 80

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
@ -36,6 +34,9 @@ spec:
- port: 80
targetPort: 8080
name: web
- port: 8000
targetPort: 8000
name: noauth
selector:
app: website-to-remarkable
---
@ -96,10 +97,8 @@ 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
@ -113,13 +112,6 @@ spec:
ports:
- containerPort: 8000
name: web
resources:
limits:
cpu: 12m
memory: 125Mi
requests:
cpu: 12m
memory: 125Mi
---
apiVersion: extensions/v1beta1
kind: Ingress