Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

fix(runJob/kubernetes): reliably display logs (#7060)#7061

Merged
maggieneterval merged 1 commit intorelease-1.14.xfrom
auto-cherry-pick-1.14-89e4e78505ed8760214389eea683ad929c7a5a9f
May 24, 2019
Merged

fix(runJob/kubernetes): reliably display logs (#7060)#7061
maggieneterval merged 1 commit intorelease-1.14.xfrom
auto-cherry-pick-1.14-89e4e78505ed8760214389eea683ad929c7a5a9f

Conversation

@spinnakerbot
Copy link
Contributor

  • fix(runJob/kubernetes): fix log display

fix a case where the log link was being displayed before all the data
needed to render it was available. this caused some confusing cases
where the link would be rendered but users would be met with a Not Found
error in the popup. ultimately this was due to a missing namespace.
resolved by pulling the namespace off of the job status instead of
depending on the manifest subscription.

  • fix(runJob/kubernetes): fetch manifest once

jobs collect owned pods when collecting job status so we are no longer
dependent on subscribing to manifest events to get the pod names created
by the job. instead, simply fetch the manifest once. this is more
reliable than subscribing to manifest updates.

Automated cherry pick of 89e4e78 into 1.14

* fix(runJob/kubernetes): fix log display

fix a case where the log link was being displayed before all the data
needed to render it was available. this caused some confusing cases
where the link would be rendered but users would be met with a Not Found
error in the popup. ultimately this was due to a missing namespace.
resolved by pulling the namespace off of the job status instead of
depending on the manifest subscription.

* fix(runJob/kubernetes): fetch manifest once

jobs collect owned pods when collecting job status so we are no longer
dependent on subscribing to manifest events to get the pod names created
by the job. instead, simply fetch the manifest once. this is more
reliable than subscribing to manifest updates.
@maggieneterval maggieneterval merged commit a7c50c6 into release-1.14.x May 24, 2019
@maggieneterval maggieneterval deleted the auto-cherry-pick-1.14-89e4e78505ed8760214389eea683ad929c7a5a9f branch May 24, 2019 16:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants