migrate to statefulset

This commit is contained in:
Mira 2025-11-24 23:18:59 -05:00
parent 70abc78c48
commit c0e649b2cb
13 changed files with 53 additions and 34 deletions

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
labels: labels:
app: copyparty app: copyparty
@ -10,8 +10,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: copyparty app: copyparty
strategy:
type: Recreate
template: template:
metadata: metadata:
labels: labels:

View file

@ -36,3 +36,42 @@ spec:
targetPort: 8000 targetPort: 8000
selector: selector:
app: cyberchef app: cyberchef
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: cyberchef-http
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
spec:
rules:
- host: cyberchef.reticulum.lan
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: cyberchef-svc
port:
number: 8000
- host: cyberchef.argentumcation.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: cyberchef-svc
port:
number: 8000
- host: cyberchef.xn--2dkua.xn--tckwe
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: cyberchef-svc
port:
number: 8000

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
labels: labels:
app: forgejo app: forgejo
@ -10,8 +10,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: forgejo app: forgejo
strategy:
type: Recreate
template: template:
metadata: metadata:
labels: labels:

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
labels: labels:
app: jackett app: jackett
@ -10,8 +10,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: jackett app: jackett
strategy:
type: Recreate
template: template:
metadata: metadata:
labels: labels:

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
labels: labels:
app: mariadb app: mariadb
@ -10,8 +10,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: mariadb app: mariadb
strategy:
type: Recreate
template: template:
metadata: metadata:
annotations: annotations:

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
labels: labels:
app: paperless app: paperless
@ -10,8 +10,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: paperless app: paperless
strategy:
type: Recreate
template: template:
metadata: metadata:
labels: labels:

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
labels: labels:
app: postgres app: postgres
@ -10,8 +10,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: postgres app: postgres
strategy:
type: Recreate
template: template:
metadata: metadata:
labels: labels:

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
name: qbittorrent name: qbittorrent
spec: spec:
@ -41,7 +41,7 @@ spec:
- '4' - '4'
periodSeconds: 60 periodSeconds: 60
failureThreshold: 5 failureThreshold: 5
initialDelaySeconds: 20 initialDelaySeconds: 30
timeoutSeconds: 10 timeoutSeconds: 10
ports: ports:
- containerPort: 8080 - containerPort: 8080

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
labels: labels:
app: radarr app: radarr
@ -10,8 +10,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: radarr app: radarr
strategy:
type: Recreate
template: template:
metadata: metadata:
labels: labels:

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose convert -f redis_docker.yaml kompose.cmd: kompose convert -f redis_docker.yaml
@ -13,8 +13,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: redis app: redis
strategy:
type: Recreate
template: template:
metadata: metadata:
annotations: annotations:
@ -24,7 +22,7 @@ spec:
app: redis app: redis
spec: spec:
containers: containers:
- image: redis:alpine - image: redis:7.2-alpine
name: redis name: redis
ports: ports:
- containerPort: 6379 - containerPort: 6379

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
labels: labels:
app: slskd app: slskd
@ -10,8 +10,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: slskd app: slskd
strategy:
type: Recreate
template: template:
metadata: metadata:
labels: labels:

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
labels: labels:
app: sonarr app: sonarr
@ -10,8 +10,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: sonarr app: sonarr
strategy:
type: Recreate
template: template:
metadata: metadata:
labels: labels:

View file

@ -1,6 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
name: uptime-kuma name: uptime-kuma
labels: labels: