switched to deployments for easier restarts also moved pvc's after

accidntally deleting them :(
This commit is contained in:
2024-11-13 07:20:17 +01:00
parent 6c64c14934
commit 5b2b526113
24 changed files with 375 additions and 257 deletions

View File

@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: flaresolverr
labels:
app.kubernetes.io/name: flaresolverr
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: flaresolverr
template:
metadata:
labels:
app.kubernetes.io/name: flaresolverr
spec:
containers:
- name: flaresolverr
image: ghcr.io/flaresolverr/flaresolverr:latest
env:
- name: LOG_LEVEL
value: info
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "002"
- name: TZ
value: "Etc/UTC"

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: svc-flaresolverr
spec:
selector:
app.kubernetes.io/name: flaresolverr
ports:
- name: webui
protocol: TCP
port: 80
targetPort: 8191