-
Notifications
You must be signed in to change notification settings - Fork 979
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
Fix emptiness reconciler when ttl not expired #1262
Conversation
✔️ Deploy Preview for karpenter-docs-prod canceled. 🔨 Explore the source changes: 9ad026b 🔍 Inspect the deploy log: https://app.netlify.com/sites/karpenter-docs-prod/deploys/61faf397dfdac900079c27df |
Thoughts on solving #1103 at the same time, since I think it touches the same code. |
So our node controller watches for changes in the provisioner and if say : This worked as expected. I don't think anything is needed for #1103
I think what might've happened there was that if you modify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for the change, just a couple comments.
1. Issue, if available:
#993
2. Description of changes:
3. How was this change tested?
Before it would take a long time to clear up (4 minutes)-
Now it's as expected on a quick cycle of empty -> full -> empty and it drains as expected.
I even tried out a basic emptiness check to verify no regressions -
4. Does this change impact docs?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.