-
Notifications
You must be signed in to change notification settings - Fork 0
/
persistentvolume.yaml
53 lines (53 loc) · 992 Bytes
/
persistentvolume.yaml
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
52
53
apiVersion: v1
kind: PersistentVolume
metadata:
name: static
labels:
io.wger.service: static
#tier: tier
spec:
storageClassName: nfs
persistentVolumeReclaimPolicy: Retain # Recycle, Delete
capacity:
storage: 100Mi # 1Gi
accessModes:
- ReadWriteMany
nfs:
server: 192.168.1.5
path: "/media/k8s/static"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: media
labels:
io.wger.service: media
#tier: tier
spec:
storageClassName: nfs
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 100Mi
accessModes:
- ReadWriteMany
nfs:
server: 192.168.1.5
path: "/media/k8s/media"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: postgres-data
labels:
io.wger.service: postgres-data
#tier: tier
spec:
storageClassName: nfs
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 100Mi
accessModes:
- ReadWriteMany
nfs:
server: 192.168.1.5
path: "/media/k8s/postgres-data"