Moved to hostPath
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user