I am using Kubernetes to spin up jenkins slaves on for my builds. I can get the plugin working without any issues.
Now, I am trying to mount a volume using the plugin. After adding the Volumes information in the plugin, its not even starting the container. I am not sure what is missing here.
In Docker file, I have added this line:
VOLUME /home/myslave
In POD Template(under jenkins configuration) I have these volume configurations:
Host path:/jenkins/slave
Mount path:/home/myslave
Thanks in advance.
You need to do 3 actions to fix this issue:
jnlp
in the kubernetes plugin.