Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Handle Kubernetes Pod provision failure due to resource constraints #5783

Closed as not planned
@dcarrion87

Description

@dcarrion87

Due to having finite resources available in a Kubernetes Cluster there's scenarios where users try to provision a workspace and the pod sits in pending state.

The pod sits in pending state forever and the terraform eventually bombs out with context deadline exceeded and the workspace going into failed state.

  • Is there plans to provide a preflight check so it blocks the user from provisioning?
  • Is there something we can interface with coder to signal resource constraint issue during workspace creation?
  • How can we auto cleanup failed workspaces from Coder so the pod does not sit in pending forever?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions