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

build: autoscale previews to 0 #4430

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Conversation

mswertz
Copy link
Member

@mswertz mswertz commented Nov 1, 2024

goal of this PR is to have previews not use resources unless accessed. therefore they should scale down rather quickly.

Expected behavior:

  • when in Azure you can see that preview is not running after the timeout passed
  • when I access the preview URL then I see the preview is being started on azure
  • after reasonable time the preview is actually available.

Motivation: we now have big kubernetes cluster hosting dozens of previews that are idle. I would like then the preview to scale down to '0' until somebody wants to see it.

@connoratrug
Copy link
Contributor

can you describe the expected behaviour in the pr comment , i have general idea but , not use on how to test for expected behaviour. also preview is failing

@mswertz mswertz marked this pull request as draft November 4, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants