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

Pod conditions fields != Node conditions fields #183

Open
cben opened this issue Dec 6, 2017 · 3 comments
Open

Pod conditions fields != Node conditions fields #183

cben opened this issue Dec 6, 2017 · 3 comments

Comments

@cben
Copy link
Contributor

cben commented Dec 6, 2017

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;
  • pods instead have 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:

    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

example from pod:

  status:
    conditions:
    - lastProbeTime: null
      lastTransitionTime: 2017-12-06T10:19:15Z
      status: "True"
      type: Initialized

(but according to doc, may also have message and reason)

@moolitayer
Copy link

@cben will adding lastProbeTime solve our problem?
(and in the UI show what is available) where do we show/use these?

@cben
Copy link
Contributor Author

cben commented Dec 6, 2017 via email

@miq-bot
Copy link
Member

miq-bot commented Sep 17, 2018

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.

Thank you for all your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Roadmap
  
Awaiting triage
Development

No branches or pull requests

5 participants