lmao
This commit is contained in:
parent
2fd55d3805
commit
5021d6587e
81
Deployments/firefox.yaml
Normal file
81
Deployments/firefox.yaml
Normal file
@ -0,0 +1,81 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: firefox
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: firefox
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: firefox
|
||||
spec:
|
||||
containers:
|
||||
- image: ghcr.io/linuxserver/firefox:version-94.0-r0
|
||||
name: firefox
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1200m"
|
||||
memory: "2000Mi"
|
||||
requests:
|
||||
cpu: "300m"
|
||||
memory: "40Mi"
|
||||
env:
|
||||
- name: TZ
|
||||
value: Europe/Oslo
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
volumeMounts:
|
||||
- name: vol
|
||||
mountPath: /config
|
||||
- name: dshm
|
||||
mountPath: /dev/shm
|
||||
- name: dri
|
||||
mountPath: /dev/dri
|
||||
|
||||
volumes:
|
||||
- name: vol
|
||||
persistentVolumeClaim:
|
||||
claimName: firefox-pvc
|
||||
- name: dshm
|
||||
emptyDir:
|
||||
medium: Memory
|
||||
- name: dri
|
||||
hostPath:
|
||||
path: /dev/dri
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: firefox-svc
|
||||
labels:
|
||||
app: firefox
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 3000
|
||||
targetPort: 3000
|
||||
nodePort: 30104
|
||||
selector:
|
||||
app: firefox
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: firefox-pvc
|
||||
labels:
|
||||
app: firefox
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 4Gi
|
Loading…
Reference in New Issue
Block a user