30 lines
718 B
YAML
30 lines
718 B
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: thelounge
|
|
labels:
|
|
app.kubernetes.io/name: thelounge
|
|
spec:
|
|
replicas: 1
|
|
serviceName: "thelounge"
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: thelounge
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: thelounge
|
|
spec:
|
|
volumes:
|
|
- name: thelounge-data
|
|
persistentVolumeClaim:
|
|
claimName: thelounge-pvc
|
|
containers:
|
|
- name: thelounge
|
|
image: ghcr.io/thelounge/thelounge:4.4.3
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 9000
|
|
volumeMounts:
|
|
- name: thelounge-data
|
|
mountPath: "/var/opt/thelounge" |