mirror of
https://github.com/thejimnicholson/heimdall-k8s.git
synced 2025-12-06 03:30:45 +00:00
Compare commits
4 Commits
65269b2eee
...
d494527586
| Author | SHA1 | Date | |
|---|---|---|---|
| d494527586 | |||
| d21241f225 | |||
| 2a9071d190 | |||
| 612fe6738a |
@ -21,9 +21,9 @@ spec:
|
|||||||
app: heimdall
|
app: heimdall
|
||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- name: heimdall-storage
|
- name: heimdall-storage-new
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: heimdall-storage
|
claimName: heimdall-storage-new
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/linuxserver/heimdall:2.5.8 # < the name of the docker image we will use
|
- image: ghcr.io/linuxserver/heimdall:2.5.8 # < the name of the docker image we will use
|
||||||
name: heimdall # < name of container
|
name: heimdall # < name of container
|
||||||
@ -40,5 +40,5 @@ spec:
|
|||||||
name: http-80
|
name: http-80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts: # < the volume mount in the container. Look at the relation volumelabel->pvc->pv
|
volumeMounts: # < the volume mount in the container. Look at the relation volumelabel->pvc->pv
|
||||||
- mountPath: /config # < mount location in the container
|
- mountPath: /config # < mount location in the container
|
||||||
name: heimdall-storage # < volumelabel configured earlier in the yaml file
|
name: heimdall-storage-new
|
||||||
28
volume.yaml
28
volume.yaml
@ -1,35 +1,13 @@
|
|||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: heimdall-pv
|
|
||||||
namespace: heimdall
|
|
||||||
labels:
|
|
||||||
app: heimdall
|
|
||||||
spec:
|
|
||||||
storageClassName: "local-path"
|
|
||||||
capacity:
|
|
||||||
storage: 5Gi
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
persistentVolumeReclaimPolicy: Retain
|
|
||||||
mountOptions:
|
|
||||||
- nolock
|
|
||||||
nfs:
|
|
||||||
server: 10.0.96.14
|
|
||||||
path: "/mnt/data/heimdall-config"
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: heimdall-storage
|
name: heimdall-storage-new
|
||||||
namespace: heimdall
|
namespace: heimdall
|
||||||
annotations:
|
|
||||||
spec:
|
spec:
|
||||||
storageClassName: "local-path"
|
storageClassName: nfs-client
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 5Gi
|
storage: 1Gi
|
||||||
volumeName: heimdall-pv
|
|
||||||
Loading…
Reference in New Issue
Block a user