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]: set emptyDir and allow timeout configuration #14500

Merged
merged 2 commits into from
Nov 9, 2022

Conversation

mrsimonemms
Copy link
Contributor

@mrsimonemms mrsimonemms commented Nov 8, 2022

Description

Adds an emptyDir to the installer job to store the /tmp directory. This is to add some ephemeral storage to reduce the probability of the installer pod being evicted, which has been reported by some users.

Also adds an installer timeout option. This does not override the 1h timeout if the https-certificates secret doesn't exist. The timeouts are added as set options - this avoids us having to have an extra preflight check which would add complexities/time.

image

Related Issue(s)

Fixes #

How to test

Install via KOTS.

Release Notes

[kots]: set emptyDir and allow timeout configuration

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide

@roboquat roboquat added size/M and removed size/S labels Nov 8, 2022
@mrsimonemms mrsimonemms changed the title Sje/installer fixes [kots]: avoid installer job eviction Nov 8, 2022
@mrsimonemms
Copy link
Contributor Author

/hold for @adrienthebo's input

@mrsimonemms mrsimonemms marked this pull request as ready for review November 8, 2022 08:31
@mrsimonemms mrsimonemms requested a review from a team November 8, 2022 08:31
@mrsimonemms mrsimonemms changed the title [kots]: avoid installer job eviction [kots]: set emptyDir and allow timeout configuration Nov 8, 2022
@adrienthebo
Copy link
Contributor

adrienthebo commented Nov 8, 2022

/werft run with-sh-preview cluster=gke

👍 started the job as gitpod-build-sje-installer-fixes.2
(with .werft/ from main)

Copy link
Contributor

@adrienthebo adrienthebo left a comment

Choose a reason for hiding this comment

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

I'm having a hell of a time getting the CI pipelines to spin up a healthy environment with this change; I'm approving this to unblock the release but would like to test it before merging.

/hold for my review today, go ahead and merge in the AM in EMEA timezones otherwise.

@adrienthebo
Copy link
Contributor

/unhold I haven't verified this as closely as I want but the CI pipelines and I are not getting along. Let's merge this and cut 2022.10.2.

@mrsimonemms
Copy link
Contributor Author

/unhold

@roboquat roboquat merged commit 1d71d58 into main Nov 9, 2022
@roboquat roboquat deleted the sje/installer-fixes branch November 9, 2022 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants