Skip to content
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

Improve debug experience #860

Closed
andresmgot opened this issue Nov 29, 2018 · 2 comments
Closed

Improve debug experience #860

andresmgot opened this issue Nov 29, 2018 · 2 comments
Labels
kind/feature An issue that reports a feature (approved) to be implemented

Comments

@andresmgot
Copy link
Contributor

If the user needs to investigate any error message, Kubeapps does not show the main info where the user can see what is happening. Be able to see the “describe” command or the “logs” from the pods would empower users to debug any deployment error on their side.

If there is any error with containers, Kubeapps keeps the state as “deploying” for a long time (not sure if there is a timeout in those cases). Showing the info of the status of the pods would help the user to identify issues. E.g.;

test-drupal-5f67965cdd-qrwwr              0/1       ImagePullBackOff   0          6m
test-mariadb-0                            0/1       ImagePullBackOff   0          6m

cc/ @beltran-rubo @juan131

@prydonius
Copy link
Contributor

I think this is useful, but we want to be careful how we design the UX around this, because we don't want to get into complicated Kubernetes Dashboard territory and ensure we focus on a simple experience.

One potential idea is to display a warning in the DeploymentStatus component, that when clicked on, goes to a more detailed view where logs and other information can be viewed.

I think we should be careful about when we show a warning about state, because the nature of Kubernetes means things can be expected to fail and eventually become healthy. Often, you'll see the Kubernetes dashboard report early warnings about, for example, a PVC not yet being fulfilled and so cannot be mounted in a Pod. Therefore, I think we should have a timeout of when we consider things unhealthy, or better yet, look for specific issues (ImagePullBackOff, CrashLoopBackOff).

@andresmgot andresmgot mentioned this issue Nov 30, 2018
2 tasks
@prydonius prydonius added kind/feature An issue that reports a feature (approved) to be implemented help wanted labels Feb 26, 2019
@stale
Copy link

stale bot commented Oct 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 2, 2020
@stale stale bot closed this as completed Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature An issue that reports a feature (approved) to be implemented
Projects
None yet
Development

No branches or pull requests

3 participants