-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpersistent-volumes.yaml
More file actions
51 lines (51 loc) · 1.41 KB
/
Copy pathpersistent-volumes.yaml
File metadata and controls
51 lines (51 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: shinobi-config-pv
spec:
capacity:
storage: 1Gi
volumeMode: Filesystem
accessModes:
- ReadWriteMany # Use appropriate access mode (ReadWriteOnce, ReadOnlyMany, ReadWriteMany)
persistentVolumeReclaimPolicy: Retain # Use Retain, Recycle, or Delete as needed
storageClassName: manual # Use the appropriate StorageClass
nfs:
path: /mnt/nfs_mount
server: #IP
readOnly: false
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: shinobi-mysql-pv
spec:
capacity:
storage: 1Gi
volumeMode: Filesystem
accessModes:
- ReadWriteMany # Use appropriate access mode (ReadWriteOnce, ReadOnlyMany, ReadWriteMany)
persistentVolumeReclaimPolicy: Retain # Use Retain, Recycle, or Delete as needed
storageClassName: manual # Use the appropriate StorageClass
nfs:
path: /mnt/nfs_mount
server: #IP
readOnly: false
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: shinobi-streams-pv
spec:
capacity:
storage: 1Gi
volumeMode: Filesystem
accessModes:
- ReadWriteMany # Use appropriate access mode (ReadWriteOnce, ReadOnlyMany, ReadWriteMany)
persistentVolumeReclaimPolicy: Retain # Use Retain, Recycle, or Delete as needed
storageClassName: manual # Use the appropriate StorageClass
nfs:
path: /mnt/nfs_mount
server: #IP
readOnly: false