2025-11-06 23:37:17 +00:00
|
|
|
---
|
|
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: desubot
|
|
|
|
|
labels:
|
|
|
|
|
app: desubot
|
|
|
|
|
annotations:
|
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
|
spec:
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: desubot
|
|
|
|
|
replicas: 1
|
|
|
|
|
strategy:
|
|
|
|
|
type: RollingUpdate
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: desubot
|
|
|
|
|
spec:
|
|
|
|
|
nodeSelector:
|
2025-11-06 23:48:22 +00:00
|
|
|
kubernetes.io/hostname: home.homenet
|
2025-11-06 23:37:17 +00:00
|
|
|
containers:
|
|
|
|
|
- name: desubot
|
|
|
|
|
image: 'ultradesu/desubot:latest'
|
|
|
|
|
imagePullPolicy: Always
|
|
|
|
|
envFrom:
|
|
|
|
|
- secretRef:
|
|
|
|
|
name: desubot
|
|
|
|
|
env:
|
|
|
|
|
- name: RUST_LOG
|
|
|
|
|
value: "info"
|
2025-11-06 23:48:22 +00:00
|
|
|
volumeMounts:
|
|
|
|
|
- mountPath: /desubot
|
|
|
|
|
name: upload-storage
|
|
|
|
|
volumes:
|
|
|
|
|
- name: upload-storage
|
|
|
|
|
nfs:
|
|
|
|
|
server: nas.homenet
|
|
|
|
|
path: /mnt/storage/Storage/k8s/desubot/
|
|
|
|
|
readOnly: false
|