Skip to content

[bridge] Stop stuck workspace instances #12894

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

Closed
wants to merge 3 commits into from

Conversation

laushinka
Copy link
Contributor

@laushinka laushinka commented Sep 12, 2022

Description

This stops instances that are stuck in a non-running phase for too long.

Related Issue(s)

Fixes #11397

How to test

  1. Run kubectl cordon on the node.
  2. Try running a workspace. It shouldn't be stuck in pending forever.

Release Notes

NONE

Documentation

Werft options:

  • /werft with-preview

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-lau-workspace-pending-11397.2 because the annotations in the pull request description changed
(with .werft/ from main)

@laushinka laushinka changed the title Try this branch [bridge] Check workspace instance phase duration Sep 12, 2022
@laushinka laushinka changed the title [bridge] Check workspace instance phase duration [bridge] Stop stuck workspace instances Sep 12, 2022
Laurie T. Malau added 2 commits September 12, 2022 22:14
@laushinka laushinka force-pushed the lau/workspace-pending-11397 branch from ef33acf to fdc6c7d Compare September 12, 2022 22:14
@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-lau-workspace-pending-11397.7 because the annotations in the pull request description changed
(with .werft/ from main)

@laushinka laushinka marked this pull request as ready for review September 13, 2022 06:20
@laushinka laushinka requested a review from a team September 13, 2022 06:20
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Sep 13, 2022
@laushinka laushinka added do-not-merge/hold and removed team: webapp Issue belongs to the WebApp team labels Sep 13, 2022
@laushinka
Copy link
Contributor Author

Holding due to weird behavior when with-preview.

@laushinka
Copy link
Contributor Author

Closing due to failing with-previews again.

@laushinka laushinka closed this Sep 13, 2022
@laushinka laushinka deleted the lau/workspace-pending-11397 branch October 11, 2022 10:28
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.

workspaces which cannot be scheduled to a cluster get stuck in Pending
2 participants