-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Inconsistent behavior on logs page for different k8s master versions #423
Comments
To me there should be no |
I'll take a look at that. |
Changing this https://github.com/kubernetes/dashboard/blob/master/src/app/backend/logs.go#L84 Messages of course will differ between version so we shouldn't check for that. I'll have to adjust test also. Is this solution ok? I was also thinking about other solution but that would require complete redesign of logs backend :) |
@bryk what do you think? |
Sounds good to me. Ship it :) |
Added customization key:value to view in profile card
Issue details
I'm using
local-up-cluster
with newest kubernetes HEAD. After deploying some card with wrongcontainerImage
pod stays in pending state with errors. Logs page showInternal error(500)
. On older cluster we can see normal log entry saying that pod is not started and is in state pending.Environment
Steps to reproduce
containerImage
.Observed result
Inconsistent behavior for logs page between different kubernetes versions.
Comments
It's hard to say what is the expected behavior here. Pod is actually in pending state so the older version is correct to show this entry but there are some errors related to this pod and newer version actually displays internal error with event error message. For me newest behavior seems more convenient.
Here are some screens.
Newest k8s:

Older k8s:

What do you think? @bryk @maciaszczykm @cheld
The text was updated successfully, but these errors were encountered: