Compare commits
2 Commits
cfa275f4fc
...
b71f54f714
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b71f54f714 | ||
|
|
9a3bdfaf9c |
@@ -1,4 +1,3 @@
|
|||||||
---
|
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@@ -23,7 +22,7 @@ spec:
|
|||||||
kubernetes.io/hostname: home.homenet
|
kubernetes.io/hostname: home.homenet
|
||||||
containers:
|
containers:
|
||||||
- name: desubot
|
- name: desubot
|
||||||
image: 'ultradesu/desubot:latest'
|
image: "ultradesu/desubot:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
@@ -32,11 +31,11 @@ spec:
|
|||||||
- name: RUST_LOG
|
- name: RUST_LOG
|
||||||
value: "info"
|
value: "info"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /storage
|
- mountPath: /storage
|
||||||
name: storage
|
name: storage
|
||||||
volumes:
|
volumes:
|
||||||
- name: storage
|
- name: storage
|
||||||
nfs:
|
persistentVolumeClaim:
|
||||||
server: nas.homenet
|
claimName: desubot-storage
|
||||||
path: /mnt/storage/Storage/k8s/desubot/
|
readOnly: false
|
||||||
readOnly: false
|
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ resources:
|
|||||||
- external-secrets.yaml
|
- external-secrets.yaml
|
||||||
- desubot.yaml
|
- desubot.yaml
|
||||||
- restart-job.yaml
|
- restart-job.yaml
|
||||||
|
- storage.yaml
|
||||||
|
|||||||
13
k8s/apps/tg-bots/storage.yaml
Normal file
13
k8s/apps/tg-bots/storage.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: desubot-storage
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
storageClassName: nfs-csi
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 200Gi
|
||||||
Reference in New Issue
Block a user