-
Notifications
You must be signed in to change notification settings - Fork 1
/
jenkins-volume
24 lines (14 loc) · 1.29 KB
/
jenkins-volume
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
apiVersion: v1
kind: PersistentVolume
metadata:
name: jenkins-pv
namespace: jenkins
spec:
storageClassName: test-jenkins-pv
accessModes:
- ReadWriteOnce
capacity:
storage: 1Gi
persistentVolumeReclaimPolicy: Retain
hostPath:
path: /data/test-jenkins-volume/