Moved to hostPath
This commit is contained in:
@@ -17,8 +17,9 @@ spec:
|
|||||||
- key: node-role.kubernetes.io/control-plane
|
- key: node-role.kubernetes.io/control-plane
|
||||||
volumes:
|
volumes:
|
||||||
- name: beszel-agent-data
|
- name: beszel-agent-data
|
||||||
persistentVolumeClaim:
|
hostPath:
|
||||||
claimName: beszel-agent-pvc
|
path: /var/lib/beszel-data
|
||||||
|
type: DirectoryOrCreate
|
||||||
- name: containerd
|
- name: containerd
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/snap/microk8s/common/run/containerd.sock
|
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-dpl.yaml
|
||||||
- beszel-hub-svc.yaml
|
- beszel-hub-svc.yaml
|
||||||
- beszel-hub-ingress.yaml
|
- beszel-hub-ingress.yaml
|
||||||
- beszel-agent-pvc.yaml
|
|
||||||
- beszel-agent-ds.yaml
|
- beszel-agent-ds.yaml
|
||||||
Reference in New Issue
Block a user