Updated a bunch of resources

Added Goldilocks to keep an eye on suggested improvements
This commit is contained in:
Marcus Noble 2020-06-05 22:17:50 +01:00
parent e01e72641d
commit 43c8b7b61e
14 changed files with 125 additions and 0 deletions

View File

@ -2,6 +2,8 @@ apiVersion: v1
kind: Namespace
metadata:
name: blog
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Service
@ -39,6 +41,13 @@ spec:
ports:
- containerPort: 8000
name: web
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
---
apiVersion: extensions/v1beta1
kind: Ingress

View File

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

View File

@ -2,6 +2,8 @@ apiVersion: v1
kind: Namespace
metadata:
name: cctv
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Secret
@ -64,6 +66,13 @@ spec:
ports:
- containerPort: 8080
protocol: TCP
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
---
apiVersion: v1
kind: Service

View File

@ -2,6 +2,8 @@ apiVersion: v1
kind: Namespace
metadata:
name: dashboard
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Secret
@ -54,6 +56,13 @@ spec:
ports:
- containerPort: 80
name: web
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
---
apiVersion: extensions/v1beta1
kind: Ingress

View File

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

View File

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

View File

@ -0,0 +1,22 @@
apiVersion: v1
kind: Namespace
metadata:
name: goldilocks
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: goldilocks
namespace: goldilocks
spec:
chart:
repository: https://charts.fairwinds.com/stable
name: goldilocks
version: 2.3.1
maxHistory: 4
values:
installVPA: true

View File

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

View File

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

View File

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

View File

@ -2,6 +2,8 @@ apiVersion: v1
kind: Namespace
metadata:
name: qr
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Service
@ -39,6 +41,13 @@ spec:
ports:
- containerPort: 8080
name: web
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
---
apiVersion: extensions/v1beta1
kind: Ingress

View File

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

View File

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

View File

@ -2,6 +2,8 @@ apiVersion: v1
kind: Namespace
metadata:
name: website-to-remarkable
labels:
goldilocks.fairwinds.com/enabled: "true"
---
apiVersion: v1
kind: Secret
@ -92,6 +94,13 @@ spec:
ports:
- containerPort: 8080
protocol: TCP
resources:
limits:
cpu: 12m
memory: 125Mi
requests:
cpu: 12m
memory: 125Mi
- name: web
image: docker.cluster.fun/averagemarcus/website-to-remarkable:latest
imagePullPolicy: Always
@ -104,6 +113,13 @@ spec:
ports:
- containerPort: 8000
name: web
resources:
limits:
cpu: 12m
memory: 125Mi
requests:
cpu: 12m
memory: 125Mi
---
apiVersion: extensions/v1beta1
kind: Ingress