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

Settings should not dynamically update at runtime #154

Closed
jonathan-innis opened this issue Jan 5, 2023 · 0 comments · Fixed by #174
Closed

Settings should not dynamically update at runtime #154

jonathan-innis opened this issue Jan 5, 2023 · 0 comments · Fixed by #174
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jonathan-innis
Copy link
Member

Tell us about your request

Karpenter's settings.SettingsStore currently updates at runtime to avoid having to restart the controller on any settings changes. This tracking has become difficult to manage and creates some development burden on the controller developer to handle constant requeueing while a given feature flag isn't enabled so that the controller can properly begin to react when a feature is enabled.

Rather than handle the burden of having to deal with this constant requeueing, it would be simpler to just restart the container when the settings change, meaning that settings can be assumed to be consistent for the lifetime of the process.

This is a consistent pattern throughout the Kubernetes community, where changes to configuration that are not bound to be particularly frequent require a pod restart.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?

Take away burden from the controller developer to handle runtime changes in Karpenter's settings.

Are you currently working around this issue?

Yes, we are having to do a constant requeue inside of controllers that use feature-flags.

Additional Context

No response

Attachments

No response

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant