Skip to content
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 slave template namespace in logs #304

Merged
merged 1 commit into from Apr 6, 2018
Merged

Use slave template namespace in logs #304

merged 1 commit into from Apr 6, 2018

Conversation

MarkTickner
Copy link
Contributor

This defaults to client namespace as before. Currently it logs the master namespace, even if the slaves are being provisioned elsewhere.

This defaults to client namespace as before
@oliverlockwood
Copy link
Contributor

For a bit more context, example logs from this before the fix:

INFO: Total container cap of 5 reached, not provisioning: 5 running or errored in namespace jenkins-master with Kubernetes labels {jenkins=slave}

versus

INFO: Created Pod: jenkins-slave-uber-s75w0 in namespace jenkins-slaves

@carlossg carlossg merged commit 97f1697 into jenkinsci:master Apr 6, 2018
@carlossg
Copy link
Contributor

carlossg commented Apr 6, 2018

Thanks!

@MarkTickner MarkTickner deleted the fix-slave-provisioning-logs branch April 6, 2018 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants