You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use one table and one parse_conditions() method for both pod & node status.conditions.
The fields we take match node conditions but not exactly pods. Specifically:
nodes have lastHeartbeatTime which we parse & store;
conditions:
- lastHeartbeatTime: 2017-12-06T12:06:44Z
lastTransitionTime: 2017-12-06T10:03:09Z
message: kubelet has sufficient disk space available
reason: KubeletHasSufficientDisk
status: "False"
type: OutOfDisk
I have no idea if there are any practical consequences :-)
Just noticed it when looking at code vs API response...
Yes, adding last_probe_time is only missing thing.
And perhaps it'd be fine to stick it into last_heartbeat_time (perhaps
renamed) — it's one OR the other, and both essentially mean "when this was
checked".
This issue has been automatically marked as stale because it has not been updated for at least 6 months.
If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.
We use one table and one
parse_conditions()
method for both pod & nodestatus.conditions
.The fields we take match node conditions but not exactly pods. Specifically:
lastHeartbeatTime
which we parse & store;lastProbeTime
which we discard.https://kubernetes.io/docs/api-reference/v1.8/#nodecondition-v1-core
https://kubernetes.io/docs/api-reference/v1.8/#podcondition-v1-core
Example from node:
example from pod:
(but according to doc, may also have
message
andreason
)The text was updated successfully, but these errors were encountered: