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

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