-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: kubernetes-plugin
-
Environment:Plugin version 1.1
The current defaultĀ volumeMounts for a slave pod includes:
volumeMounts:
- mountPath: /home/jenkins
name: workspace-volume
...
volumes:
- emptyDir: {}
name: workspace-volume
I am building a custom image on top of jenkins/jnlp-slave:alpine and I have populated some files under:
- /home/jenkins/.helm/
- /home/jenkins/.config/
Unfortunately everything under /home/jenkins vanishes because of the mount point.
I wish I had the option forĀ /home/jenkins to not be mounted.
- is duplicated by
-
JENKINS-45635 Jenkins slave provisioned by Kubernetes plugin missing file in /home/jenkins
-
- Resolved
-
- is related to
-
JENKINS-47591 Allow each Kubernetes slave pod to use unique Persistent Volume / Storage
-
- Resolved
-
-
JENKINS-53368 Custom workspace-volume
-
- Closed
-