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 kind: Namespace
metadata: metadata:
name: blog name: blog
labels:
goldilocks.fairwinds.com/enabled: "true"
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
@ -39,6 +41,13 @@ spec:
ports: ports:
- containerPort: 8000 - containerPort: 8000
name: web name: web
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
--- ---
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
@ -39,6 +41,13 @@ spec:
ports: ports:
- containerPort: 80 - containerPort: 80
name: web name: web
resources:
limits:
cpu: 25m
memory: 283Mi
requests:
cpu: 25m
memory: 283Mi
--- ---
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: cctv name: cctv
labels:
goldilocks.fairwinds.com/enabled: "true"
--- ---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
@ -64,6 +66,13 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
protocol: TCP protocol: TCP
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service

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
@ -54,6 +56,13 @@ spec:
ports: ports:
- containerPort: 80 - containerPort: 80
name: web name: web
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
--- ---
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: downloads name: downloads
labels:
goldilocks.fairwinds.com/enabled: "true"
--- ---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
@ -64,6 +66,13 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
protocol: TCP protocol: TCP
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service

View File

@ -2,6 +2,8 @@ apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: ghost name: ghost
labels:
goldilocks.fairwinds.com/enabled: "true"
--- ---
@ -31,6 +33,13 @@ spec:
persistence: persistence:
enabled: true enabled: true
size: 1Gi 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 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

@ -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
@ -39,6 +41,13 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
name: web name: web
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
--- ---
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: rss name: rss
labels:
goldilocks.fairwinds.com/enabled: "true"
--- ---
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
@ -65,6 +67,13 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
name: web name: web
resources:
limits:
cpu: 25m
memory: 308Mi
requests:
cpu: 25m
memory: 308Mi
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
name: storage name: storage

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
@ -39,6 +41,13 @@ spec:
ports: ports:
- containerPort: 9090 - containerPort: 9090
name: web name: web
resources:
limits:
cpu: 25m
memory: 250Mi
requests:
cpu: 25m
memory: 250Mi
--- ---
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: website-to-remarkable name: website-to-remarkable
labels:
goldilocks.fairwinds.com/enabled: "true"
--- ---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
@ -92,6 +94,13 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
protocol: TCP protocol: TCP
resources:
limits:
cpu: 12m
memory: 125Mi
requests:
cpu: 12m
memory: 125Mi
- name: web - name: web
image: docker.cluster.fun/averagemarcus/website-to-remarkable:latest image: docker.cluster.fun/averagemarcus/website-to-remarkable:latest
imagePullPolicy: Always imagePullPolicy: Always
@ -104,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