kubedeploy-k3s/apps/dashy/base/deployment.yaml
2024-05-10 12:42:29 +02:00

47 lines
1.0 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: dashy
name: dashy
spec:
replicas: 1
selector:
matchLabels:
app: dashy
strategy: {}
template:
metadata:
labels:
app: dashy
spec:
containers:
- env:
- name: NODE_ENV
value: production
image: ghcr.io/lissy93/dashy:latest
livenessProbe:
exec:
command:
- node
- /app/services/healthcheck
failureThreshold: 3
initialDelaySeconds: 40
periodSeconds: 90
timeoutSeconds: 10
name: dashy
ports:
- name: http
containerPort: 8080
protocol: TCP
resources: {}
volumeMounts:
- name: config
mountPath: /app/user-data
subpath: b2475220-0041-4aef-9436-ec17e00485a9
restartPolicy: Always
volumes:
- name: config
persistentVolumeClaim:
claimName: dashy