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

Defaulting last statusChange for pending pods to CreationTimestamp #180

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

JamesMurkin
Copy link
Contributor

We know as the pod is in pending, that if no conditions have changed, the last thing that happened must have been creation.

This change is mostly to allow identification of pods that have got stuck in pending but with no events.

  • If a pod gets stuck in pending and never gets an event, currently we'll never delete it

This change just means if it gets truly stuck in pending, we'll clean it up based on being a long time since it was created.

We know as the pod is in pending, that if no conditions have changed, the last thing that happened must have been creation.

This change is mostly to allow identification of pods that have got stuck in pending but with no events.
 - If a pod gets stuck in pending and never gets an event, currently we'll never delete it

This change just means if it gets truly stuck in pending, we'll clean it up based on being a long time since it was created.
@JamesMurkin JamesMurkin merged commit ff7aeb5 into master Oct 17, 2019
@JamesMurkin JamesMurkin deleted the pod-last-event-time branch October 17, 2019 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants