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

[kots]: remove wait-for-jobs #8871

Merged
merged 1 commit into from
Mar 18, 2022
Merged

[kots]: remove wait-for-jobs #8871

merged 1 commit into from
Mar 18, 2022

Conversation

mrsimonemms
Copy link
Contributor

Description

Remove wait-for-jobs flag in Helm.

As we're deleting jobs on completion, the Helm command can error
wrongly if the job is deleted before Helm detects it's completed.

How to test

Deploy via KOTS

Release Notes

[kots]: remove wait-for-jobs

Documentation

As we're deleting jobs on completion, the Helm command can error
wrongly if the job is deleted before Helm detects it's completed.
@mrsimonemms mrsimonemms requested a review from a team March 17, 2022 16:36
@github-actions github-actions bot added the team: delivery Issue belongs to the self-hosted team label Mar 17, 2022
@@ -191,7 +191,6 @@ spec:
--reset-values \
--timeout 1h \
--wait \
--wait-for-jobs \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Just wondering if this would falsely give a "Installer job finished" message. Is increasing the ttl of the job a possibility?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so. The jobs are decoupled from the install/upgrade process really. Even if it does fail, it doesn't allow us to feedback to the GUI (I don't think KOTS has anything that allows that in fact)

Copy link
Contributor

@nandajavarma nandajavarma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@roboquat roboquat merged commit 84f653e into main Mar 18, 2022
@roboquat roboquat deleted the sje/kots-helm-wait branch March 18, 2022 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note size/XS team: delivery Issue belongs to the self-hosted team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants