mirror of
https://github.com/thejimnicholson/heimdall-k8s.git
synced 2025-12-06 03:30:45 +00:00
Remove old pv/pvc
This commit is contained in:
parent
d21241f225
commit
d494527586
35
volume.yaml
35
volume.yaml
@ -1,40 +1,5 @@
|
|||||||
---
|
---
|
||||||
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
|
|
||||||
metadata:
|
|
||||||
name: heimdall-storage
|
|
||||||
namespace: heimdall
|
|
||||||
annotations:
|
|
||||||
spec:
|
|
||||||
storageClassName: "local-path"
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 5Gi
|
|
||||||
volumeName: heimdall-pv
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: heimdall-storage-new
|
name: heimdall-storage-new
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user