yippeeeeee

This commit is contained in:
The Ephemeral Force
2025-04-18 12:07:46 -04:00
parent 9c48734f33
commit a8f5142689
8 changed files with 372 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ metadata:
keel.sh/policy: all
keel.sh/trigger: poll
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: clarkeis.com

View File

@@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: dbmus-container
image: swaous.asuscomm.com/deadlyboringmath.us:latest
image: docker.clarkeis.com/deadlyboringmath.us:latest
imagePullPolicy: Always
ports:
- containerPort: 80

View File

@@ -95,3 +95,29 @@ spec:
- hosts:
- swaous.asuscomm.com
secretName: swaous-tls
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-issuer
kubernetes.io/ingress.class: traefik
name: docker-registry-otherendpoint
spec:
rules:
- host: docker.clarkeis.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: docker-registry-service
port:
number: 5000
tls:
- hosts:
- docker.clarkeis.com
secretName: docker-clarkeis-tls

73
luanti.yaml Normal file
View File

@@ -0,0 +1,73 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: luanti-server
spec:
replicas: 1
selector:
matchLabels:
app: luanti
template:
metadata:
labels:
app: luanti
spec:
containers:
- name: luanti-container
image: lscr.io/linuxserver/luanti:latest
ports:
- containerPort: 30000
protocol: UDP
- containerPort: 30000
protocol: TCP
volumeMounts:
- name: luanti-persistent-storage
mountPath: /config/.minetest
env:
- name: CLI_ARGS
value: "--gameid mineclonia"
resources:
limits:
memory: "2Gi"
volumes:
- name: luanti-persistent-storage
persistentVolumeClaim:
claimName: luanti-pv-claim
---
apiVersion: v1
kind: Service
metadata:
name: luanti-svc
spec:
selector:
app: luanti
ports:
- port: 30000
targetPort: 30000
protocol: UDP
name: luanti-udp
- port: 30000
targetPort: 30000
protocol: TCP
name: luanti-tcp
type: LoadBalancer
loadBalancerIP: 192.168.50.50
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: luanti-pv-claim
labels:
app: luanti
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi

64
n-gon-improved.yaml Normal file
View File

@@ -0,0 +1,64 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: n-gon-improved
annotations:
keel.sh/policy: all
keel.sh/trigger: poll
spec:
replicas: 1
selector:
matchLabels:
app: n-gon-improved
template:
metadata:
labels:
app: n-gon-improved
spec:
containers:
- name: n-gon-improved-container
image: swaous.asuscomm.com/n-gon-improved:latest
imagePullPolicy: Always
ports:
- containerPort: 80
imagePullSecrets:
- name: regcred
---
apiVersion: v1
kind: Service
metadata:
name: n-gon-improved-svc
spec:
selector:
app: n-gon-improved
ports:
- port: 80
targetPort: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-issuer
kubernetes.io/ingress.class: traefik
name: n-gon-improved
spec:
rules:
- host: n-gon.tardiggas.org
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: n-gon-improved-svc
port:
number: 80
tls:
- hosts:
- n-gon.tardiggas.org
secretName: n-gon-improved-cert

64
sitix.yaml Normal file
View File

@@ -0,0 +1,64 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: sitix-website
annotations:
keel.sh/policy: all
keel.sh/trigger: poll
spec:
replicas: 1
selector:
matchLabels:
app: sitix-website
template:
metadata:
labels:
app: sitix-website
spec:
containers:
- name: sitixweb-container
image: swaous.asuscomm.com/sitix-website:latest
imagePullPolicy: Always
ports:
- containerPort: 80
imagePullSecrets:
- name: regcred
---
apiVersion: v1
kind: Service
metadata:
name: sitixweb-service
spec:
selector:
app: sitix-website
ports:
- port: 80
targetPort: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-issuer
kubernetes.io/ingress.class: traefik
name: sitix-website-ingress
spec:
rules:
- host: swaous.asuscomm.com
http:
paths:
- path: /sitix
pathType: Prefix
backend:
service:
name: sitixweb-service
port:
number: 80
tls:
- hosts:
- swaous.asuscomm.com
secretName: swaous-tls

View File

@@ -6,7 +6,7 @@ metadata:
keel.sh/policy: all
keel.sh/trigger: poll
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: swaous.asuscomm.com

142
webwork.yaml Normal file
View File

@@ -0,0 +1,142 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: ww-pv-course
spec:
accessModes: [ "ReadWriteOnce" ]
capacity:
storage: "3Gi"
hostPath:
path: /mnt/courses
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ww-pvc-course
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 3Gi
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: ww-pv-htdocs
spec:
accessModes: [ "ReadWriteOnce" ]
capacity:
storage: "3Gi"
hostPath:
path: /mnt/htdocs
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ww-pvc-htdocs
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 3Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ww-deployment
labels:
app: ww
spec:
template:
metadata:
name: ww-pod
labels:
app: ww
spec:
containers:
- image: lthub/webwork:2
name: ww-pod
env:
- name: WEBWORK_DB_DRIVER
value: mysql
- name: WEBWORK_DB_HOST
value: 'mysql'
- name: WEBWORK_DB_PORT
value: '3306'
- name: WEBWORK_DB_NAME
value: "webwork2"
- name: WEBWORK_DB_PASSWORD
value: "password"
- name: WEBWORK_DB_USER
value: "webwork2"
- name: WEBWORK_TIMEZONE
value: "America/New_York"
- name: DEV
value: "0"
- name: APACHE_RUN_GROUP
value: "www-data"
ports:
- containerPort: 80
name: ww-port
volumeMounts:
- mountPath: "/opt/webwork/courses"
name: courses
subPath: "courses"
- mountPath: "/opt/webwork/webwork2/htdocs/tmp"
name: htdocs
subPath: "ww2-htdocs-tmp"
volumes:
- name: courses
persistentVolumeClaim:
claimName: ww-pvc-course
- name: htdocs
persistentVolumeClaim:
claimName: ww-pvc-htdocs
replicas: 1
selector:
matchLabels:
app: ww
---
apiVersion: v1
kind: Service
metadata:
name: ww-service
spec:
selector:
app: ww
ports:
- protocol: TCP
port: 80
targetPort: 8080
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-issuer
kubernetes.io/ingress.class: traefik
name: ww-ingress
spec:
rules:
- host: deadlyboringmath.us
http:
paths:
- path: /webwork2
pathType: Prefix
backend:
service:
name: ww-service
port:
number: 80
tls:
- hosts:
- deadlyboringmath.us
secretName: dbmus-tls