Moved to hostPath

This commit is contained in:
Donato Mastronardi
2026-03-17 22:56:28 +01:00
parent 0dfcd13369
commit efe6b171bb
3 changed files with 3 additions and 14 deletions

View File

@@ -17,8 +17,9 @@ spec:
- key: node-role.kubernetes.io/control-plane
volumes:
- name: beszel-agent-data
persistentVolumeClaim:
claimName: beszel-agent-pvc
hostPath:
path: /var/lib/beszel-data
type: DirectoryOrCreate
- name: containerd
hostPath:
path: /var/snap/microk8s/common/run/containerd.sock

View File

@@ -1,11 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: beszel-agent-pvc
spec:
accessModes:
- ReadWriteOnce
storageClassName: microk8s-hostpath # to work also on the master node without longhorn
resources:
requests:
storage: 1Gi

View File

@@ -4,5 +4,4 @@ resources:
- beszel-hub-dpl.yaml
- beszel-hub-svc.yaml
- beszel-hub-ingress.yaml
- beszel-agent-pvc.yaml
- beszel-agent-ds.yaml