-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ephemeral PVC for JENKINS_HOME #769
Comments
Yep agree this is something we should implement to avoid evicted pods and not ready nodes due to disk pressure. |
Do I need to make the changes in the default configuration or make a new one separately? |
Can you elaborate a bit? I'm not sure what you mean... |
@brokenpip3 Is this being worked on? Having a PVC for jenkins home directory would really be useful. |
Hi @dashashutosh24 this is not a pvc for the home directory, it's just using ephemeral pvc instead of emptydir as home directory (#779 (comment)). |
@brokenpip3 Thanks for the response. Just a quick question, I tried mounting a PV at /var/lib/jenkins/secrets to preserve the secrets to allow agent reconnection after master comes back up once its down. But still the agent wasn't able to connect to the master. This is in relation to #691 . Any idea how to tackle this? |
Let's move the conversation in that issue, I replied to you there |
Describe the solution you'd like
For big projects with many jobs and many archived logs, it can happen that JENKINKS_HOME directory takes all the node's disk capacity as it is of type
emptyDir
. Using an ephemeral PVC for JENKINS_HOME would solve this issue.The text was updated successfully, but these errors were encountered: