forked from rundeck/docker-zoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
persistent-volumes.yaml
61 lines (53 loc) · 928 Bytes
/
persistent-volumes.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
54
55
56
57
58
59
60
kind: PersistentVolume
apiVersion: v1
metadata:
name: minio-pv
spec:
accessModes:
- ReadWriteMany
volumeMode: Filesystem
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 5Gi
hostPath:
path: /kubernetes/minio-data
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: minio-pv-claim
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 5Gi
volumeName: minio-pv
storageClassName: ""
---
kind: PersistentVolume
apiVersion: v1
metadata:
name: mysql-pv
spec:
accessModes:
- ReadWriteMany
volumeMode: Filesystem
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 3Gi
hostPath:
path: /kubernetes/mysql-data
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: mysql-pv-claim
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 3Gi
volumeName: mysql-pv
storageClassName: ""