Created
April 3, 2018 17:40
-
-
Save lvthillo/59bc55df0658dd6e295d1ebdf4788221 to your computer and use it in GitHub Desktop.
Create persistent volume for jenkins in minikube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: jenkins-pv | |
namespace: jenkins-project | |
spec: | |
storageClassName: jenkins-pv | |
accessModes: | |
- ReadWriteOnce | |
capacity: | |
storage: 20Gi | |
persistentVolumeReclaimPolicy: Retain | |
hostPath: | |
path: /data/jenkins-volume/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment