-
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
Differences between displaying "Age" in the Dashboard and in a console #573
Comments
Hmm... Interesting. Marcin, take a look and triage this bug. |
StartTime: pod.Status.StartTime, Where it's described as: // Date and time at which the object was acknowledged by the Kubelet.
// This is before the Kubelet pulled the container image(s) for the pod.
StartTime *unversioned.Time `json:"startTime,omitempty"` It works in most of the cases, but when we are testing it on replication controllers with bigger number of pods it doesn't return any value for some of them (usually ones, that are in pending status and won't be started soon). I'd say we need to investigate how |
Result of
So it's not entirely our fault. |
Okay, it seems, that I've solution for this issue. We've to use // CreationTimestamp is a timestamp representing the server time when this object was
// created. It is not guaranteed to be set in happens-before order across separate operations.
// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
CreationTimestamp unversioned.Time `json:"creationTimestamp,omitempty"` I'll create pull request soon :) |
Issue details
Differences between displaying "Age" in the Dashboard and in a console.
In web application are empty values in column "Age" when POD has status "Pending", but in console in the same situation "Age" is normally displaying
Environment
Steps to reproduce
I have correctly Replication controller and i go to PODS view. Next I type the command "kubectl get pods --all-namespaces" into console.
Observed result
In console "Age" is displaying for all of PODS, but in Dashboard only if status is "Running", for "Pending" column "Age" has empty values.
Expected result
Views in Dashboard and in consol should be the same.
Comments
The text was updated successfully, but these errors were encountered: