Comments (5)
This is a good issue to address this in documentation clearly.
My use case is to install jenkins via helm chart and keep it running like before, and want to configure them manually via GUI, so we disable the sidecar for autoupdate and reuse the pvc like below
persistence:
enabled: true
storageClass: nfs
existingClaim: jenkins-nfs-permament
master:
sidecars:
configAutoReload:
enabled: false
# ...
JCasC:
enabled: true
configScripts:
jenkins: |
jenkins:
systemMessage: |
Welcome to our Jenkins CI server.
views: |
jenkins:
views:
- list:
columns:
- "status"
- "jobName"
- "lastSuccess"
- "lastFailure"
- "lastDuration"
includeRegex: "^test_.*"
name: "Sandbox"
And we noticed after restart the pod (simulate the crash of jenkins pod), some configurations are reloaded while some are kept, it will be good to let us know the strategy and way to check.
So far it feels if it defines in $CASC_JENKINS_CONFIG
, it will be reloaded like jobs and system configuration.
But some parts are tricky to understand like
- if I define some job views in
values.yaml
(see above), I can't manually to add new views in jenkins, they will be reset always after restart.
And it is good to see new generated jobs are kept (no matter they are from seed job or manually added jobs)
Therefore in this issue, hopefully we can cover those things in documentation.
from helm-charts.
Hi @torstenwalter Can you assign this to me?
from helm-charts.
I just ran into this not working as well. I was about to open a feature request around this before I saw this one.
Perhaps in a future release, we could do away with the sidecar (which doesn't appear to be working properly at the moment) and use pod annotations (separate from .Values.controller.podAnnotations
) based on the md5sum of each .Values.controller.JCasC.configScripts
instead.
The only downside I can think of to this approach is that JCasC changes will require a couple of minutes of Jenkins downtime (which is what the sidecar is trying to avoid).
from helm-charts.
I confirm that sidecars is also not working for me, seems to be completely broken.
On the wiki, we're advised to enable rbac
, but it still fails to register the values.yaml
changes.
So far, the only workaround that I have found is to "manually" or through CI/CD restart the pods, which causes a downtime overhead as @unacceptable has mentionned.
from helm-charts.
any update on this. seems to still be an issue.
from helm-charts.
Related Issues (20)
- Renovate doesn't update CHANGELOG correctly HOT 2
- Renovate doesn't upgrade Jenkins LTS correctly
- Initcontainer throwing error FileSystemException: /root/.cache
- host alias for the agent container
- Use WATCH mode for config reload sidecar
- 4.12.1 -> default installPlugins are causing versioning issues HOT 1
- Jenkins wont start after 5.1 upgrade HOT 7
- Issues with agent.image map HOT 3
- Getting error while installing helm build HOT 6
- The Pod template configuration of k8s cloud is lost HOT 2
- useJenkinsProxy is not rendered in template
- Document installation using proxy set up with user and password
- jenkinsTunnel in the values.yaml should include a comment not to include protocol like https://
- k3s: Crash on startup after Helm apply HOT 3
- FR: Worker only deploying though chart
- Can't disable Jenkins login page HOT 3
- Jenkins plugins not getting upgraded through helm chart HOT 1
- Add ability to provide annotations to the jcasc config configmap
- A thread (Download metadata thread/63) died unexpectedly due to an uncaught exception HOT 1
- Tiltfile contains deprecated usage of controller.adminPassword HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.