-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[JENKINS-68126] Adding optional Pod/Container creation logs #1244
base: master
Are you sure you want to change the base?
Conversation
IMO adding this back is not desired. I think the same outcome can be achieved relying on the |
@amuniz If so, can you offer pointers on implementing it? I've put this behind a configuration element that is false by default so that current behavior is used. It's removal is going to cause lots of users asking why their CI jobs are not building. |
The
IMO, having a feature (even if it's disabled by default) that it's known to cause issues at scale is not a good thing. I'll let other maintainers to chime in /cc @Vlatombe @jglick |
I have plans to re-introduce this feature but it needs to be scalable. |
Has there been any activity on this or any replacement that I can follow? Not being able to see why a pod failed to create in the logs of that job has been a big problem for us. |
This adds back as an optional configuration to have pod/container logs stream to Jenkins during creation - it was removed in #1192
This provides feedback from the Kubernetes API on where/what the scheduling side is doing and can inform users if their pod isn't executed yet because of resource constraints, container image issues or other problems. Without it, users are left to dig up or contact cluster administrators to get more information.
Given we don't have a performance metric to track the load on the API server from this, making an optional configuration seems acceptable. From our brief testing of 300 simultaneous jobs being scheduled and executing, we did not see a degradation in enqueuing or pod spinup times.
Let me know if you'd prefer a new JIRA for this work.