Skip to content

Add "message" field to DevWorkspace status and column for kubectl get #220

@amisevsk

Description

@amisevsk

Is your feature request related to a problem? Please describe.

There are many valid reasons for a DevWorkspace startup to fail and we represent status this via the Failed value for .status.phase. However, the only way to get insight into why a particular DevWorkspace failed to start is by inspecting the full yaml of the DevWorkspace and checking which Conditions are set.

Describe the solution you'd like

We should add a field, e.g. Message or StatusInfo to DevWorkspaceStatus and include it in the output for kubectl get. This might result in output such as

$ kc get devworkspaces
NAME    WORKSPACE ID                PHASE    URL   INFO
theia   workspacecd070100795e4809   Failed         Plugin X not found in registry

cc: @davidfestal

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/devworkspaceImprovent or additions to the DevWorkspaces CRDkind/enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions