Skip to content

Stop failed Coder workspace automatically #11670

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
NiklasRosenstein opened this issue Jan 17, 2024 · 2 comments
Closed

Stop failed Coder workspace automatically #11670

NiklasRosenstein opened this issue Jan 17, 2024 · 2 comments

Comments

@NiklasRosenstein
Copy link
Contributor

We deploy a Kubernetes Pod as a Coder workspace. If the Pod fails to be scheduled, it stays in Pending state in Kubernetes while the Coder workspace eventually times out waiting for the Pod to be scheduled. Eventually the Pod gets assigned and uses resources but is not usable because the workspace is in a failed state.

If the Coder workspace would automatically stop after entering the "Failed" state, the stop plan would remove the Pod again. This would be immensely useful to avoid zombie Pods using resources.

@cdr-bot cdr-bot bot added the feature label Jan 17, 2024
@matifali
Copy link
Member

We do have this here: https://coder.com/docs/v2/latest/templates/schedule#allow-users-scheduling

It will be available in next release as an enterprise feature.

@matifali
Copy link
Member

Closing as a duplicate of #5815

@matifali matifali closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2024
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

No branches or pull requests

2 participants