-
Notifications
You must be signed in to change notification settings - Fork 55
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
expose component status #261
Comments
For example on pods we have so it would be a good fit to have |
It's worth discussing what we actually mean by "component status" -- if they deployment is up, the components are all green. If one component fails (e.g. is OOMKIlled), the whole deployment fails and all components are red. Is there ever a possibility to have only one component not working, in a way that the DevWorkspace Operator will be aware of? |
Related to this issue: one of the options in devfile/api#370 would make this easier (but I'm still not sure how useful this information is). |
well status should still expose stuff (not a separate or mounted file) |
Seems to me that having this info in the Status would allow other components, that do not run inside Workspace POD containers, to have access to the result of the flattening (== the complete and annotated structure of the resulting workspace). Just think of the Dashboard trying to graphically represent the various components of a Workspace. TBH it seems to me that not putting it in the status is just doing more work for a less useful result. Are there real problems raised by adding the annotated flattened devworkspace in the status, apart from having a CR that is longer ? |
I would say putting a flattened devworkspace in the status is a real problem. I already had to figure out a bash alias to strip out managedFields when I'm looking at resources. The flattened workspace can (and will be if theia is involved) 3-4 times longer than the spec. That's too much info for a status IMO. To add here, if you apply a flattened DevWorkspace, the status will reproduce the original workspace in its entirety, with no changes except for a few annotations. |
I believe we agreed we are not going to expand devworkspace status with much details. Instead we may add link to flattened devfile from devworkspace status. But we agreed we won't add it until we see the necessity. |
Currently with dev-workspace I can create a workspace and I've access to:
But where to grab component status ?
(with che server it was within workspace.runtime object)
It seems for now I've to look at pod object and compare some container name with component/name but it looks very fragile.
The text was updated successfully, but these errors were encountered: