Kubernetes.K3s.installLog/services/Gotify/deployment-gotify.yaml

31 lines
599 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: gotify
namespace: gotify
labels:
app: gotify
spec:
replicas: 1
selector:
matchLabels:
app: gotify
template:
metadata:
labels:
app: gotify
spec:
containers:
- name: gotify
image: gotify/server
ports:
- name: web
containerPort: 80
volumeMounts:
- mountPath: /app/data
name: flexvolsmb-gotify-data
volumes:
- name: flexvolsmb-gotify-data
persistentVolumeClaim:
claimName: flexvolsmb-gotify-data