-
Notifications
You must be signed in to change notification settings - Fork 247
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
Disable hook support by default #855
Comments
Btw. was nfd-worker local socket ever considered for label updates instead of hooks? |
Regarding the hooks, thanks @eero-t for starting this discussion. I basically agree with this and have been anxious about the hook support myself, especially after we introduced the minimal image. Hooks are a hack'ish burden that I'm not entirely sure that how many people are even using. One sketch of a plan to remove them completely over multiple releases:
The life-cycle management of "external features" is another class of issues that is worth tracking separately. I think we can concentrate on feature files there as hooks are likely to go away 😄 @eero-t may I ask you to create a separate issue about this subject? |
Added separate tickets for the life-time management improvements, and for adding socket API for external features. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Moved to v0.14.0 |
Maybe for v0.13 we could actually change the base image of the default image distroless/base (making it identical to the |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Fixed by #1182 |
@marquiz: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What would you like to be added:
Disable support for hooks by default, and make minimal image the default. Add NFD worker option to enable support for hooks, for backwards compatibility. Deprecate and eventually remove support for dynamic binary + script hooks (to prepare for potential removal of also static binaries hook support).
Feature files can support all the same things while avoiding the issues plaguing hooks (listed below).
Why is this needed:
There are multiple issues with hook support: https://kubernetes-sigs.github.io/node-feature-discovery/v0.11/advanced/customization-guide.html#hooks
Bash, Perl and dynamic binaries support:
Hook support in general:
External feature life-cycle management
I think feature life-cycle management would also be easier if support for hooks were disabled/dropped.
Life-cycle issues:
Potential solutions:
The text was updated successfully, but these errors were encountered: