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

Delete node pools for Nodes in an unknown state for too long #590

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

nstogner
Copy link
Collaborator

No description provided.

@nstogner nstogner changed the title Delete node pools for Nodes in an unknown state for over 10 minutes Delete node pools for Nodes in an unknown state for too long Apr 18, 2024
// Avoid noisy reconciliation when nodes are shutting down.
for _, c := range node.Status.Conditions {
if c.Type == corev1.NodeReady &&
c.Status == corev1.ConditionUnknown &&
time.Since(c.LastTransitionTime.Time) > 20*time.Minute {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change it to 10 minutes instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do this in a follow up PR

@danielvegamyhre
Copy link
Contributor

/gcbrun

@danielvegamyhre danielvegamyhre self-assigned this Apr 18, 2024
@danielvegamyhre
Copy link
Contributor

/gcbrun

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.

3 participants