Compare commits

..

No commits in common. "f18a30cd3eb9ff2824d55c5693efe1243ce3eb58" and "0f0c30b9becf3282529b947d1b7aec8d5314e4da" have entirely different histories.

19 changed files with 139 additions and 16 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,6 +2,8 @@ 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
@ -41,9 +43,11 @@ spec:
name: web name: web
resources: resources:
limits: limits:
memory: 200Mi cpu: 25m
memory: 100Mi
requests: requests:
memory: 200Mi cpu: 25m
memory: 100Mi
--- ---
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress

View File

@ -2,6 +2,8 @@ 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
@ -41,8 +43,10 @@ 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,6 +2,8 @@ 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
@ -66,8 +68,10 @@ 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,6 +2,8 @@ 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
@ -56,8 +58,10 @@ 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,6 +2,8 @@ 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
@ -66,8 +68,10 @@ 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

@ -0,0 +1,76 @@
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,6 +93,7 @@ spec:
limits: limits:
memory: 100Mi memory: 100Mi
requests: requests:
cpu: 5m
memory: 100Mi memory: 100Mi
securityContext: securityContext:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true

View File

@ -2,6 +2,8 @@ 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,6 +2,8 @@ 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,6 +2,8 @@ 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,6 +2,8 @@ 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
@ -41,8 +43,10 @@ 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,6 +2,8 @@ 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
@ -67,8 +69,10 @@ 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,6 +2,8 @@ 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
@ -41,8 +43,10 @@ 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,6 +2,8 @@ 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
@ -34,9 +36,6 @@ 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
--- ---
@ -97,8 +96,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
@ -112,6 +113,13 @@ 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