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

Helm UI does not have any bread crumb to logs of the deployment #5079

Closed
gaktive opened this issue Feb 8, 2022 · 3 comments
Closed

Helm UI does not have any bread crumb to logs of the deployment #5079

gaktive opened this issue Feb 8, 2022 · 3 comments

Comments

@gaktive
Copy link
Member

gaktive commented Feb 8, 2022

Internal reference: SURE-4016
Reported in 2.6.3

Within the Helm UI, there's no way to connect the logs of a deployment during a session.

The new UI spawns a container to and will show you the logs of said deployment, but theres no way to navigate to the app and see logs from the past runs once you've navigated away.

@gaktive
Copy link
Member Author

gaktive commented Feb 8, 2022

Comment from user:

Looks related but I'm simply not seeing certain resources that are part of a Helm release (PVs PVCS, etc). Also, when the Helm chart fails, nothing shows up. In the old UI, you would still see everything and it would show you the "Deployment" failed or the "Ingress" failed. This was very useful. The old UI (despite being janky and not ideal) would persist the helm error in the top of the app UI. Now there's no way to see that.

@nwmac
Copy link
Member

nwmac commented Feb 14, 2022

On the detail view for an application, e.g.

image

Add details for the last Helm operation for the application. Find all of the Helm operation resources - type catalog.cattle.io.operation and find the ones for the application being viewed - the status.releaseName and status.namespace must match metadata.name and metadata.namespace of the catalog.cattle.io.app resource.

You should then sort those matching operations and show only the latest operation - showing on a single line above the table in the application detail view:

Last Operation (Install) - View Logs

Where View Logs is a link that when clicked will show the log for that operation - the model for the operation should have an action that will do this, so you should just need to invoke that.

Install should be replaced with whatever the action is from the operation resource.

@sowmyav27
Copy link

On 2.6-head commit id: 4df2214
Screen Shot 2022-03-07 at 7 08 25 AM

Last Operation: ( upgrade ) - [View Logs]() is seen on the Installed Apps page after an upgrade on CIS Benchmark. is performed.

@zube zube bot reopened this Mar 8, 2022
@zube zube bot reopened this Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants