-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
-
None
-
F-Release INT Sprint
First solution proposal, can be used as workaround, but needs to adopted in other environments (storage classes?)
#pv-jenkins.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
name: jenkins-pv-volume
labels:
type: local
spec:
storageClassName:
capacity:
storage: 10Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/dockerdata-nfs/jenkins"
execute
kubectl apply -f pv-jenkins.yaml
in this case write rights of /dockerdata-nfs/jenkins needs to be ensured