k3s/services/dashy/dashy-deployment.yaml
Astra Logical e3565f1c2c Dashy
2026-03-05 22:06:55 -05:00

53 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f compose-dashy.yaml
kompose.version: 1.38.0 (HEAD)
labels:
io.kompose.service: dashy
name: dashy
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: dashy
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f compose-dashy.yaml
kompose.version: 1.38.0 (HEAD)
labels:
io.kompose.service: dashy
spec:
containers:
- env:
- name: GID
value: "1000"
- name: UID
value: "1000"
image: lissy93/dashy
livenessProbe:
exec:
command:
- node
- /app/services/healthcheck
failureThreshold: 3
initialDelaySeconds: 40
periodSeconds: 90
timeoutSeconds: 10
name: dashy
ports:
- containerPort: 8080
protocol: TCP
volumeMounts:
- mountPath: /app/user-data
name: dashy-config
restartPolicy: Always
volumes:
- name: dashy-config
nfs:
server: birdfeeder2.home.nest
path: /k3s/dashy