-
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
Add option to create "profiles" of feature labels. #456
Comments
This is well in line with the recent development. IMHO we really should expand the capabilities of the With that in mind there is some code refactoring/restructuring to be done, something that I've been planning to do a long time. Steps forward:
|
I did some prototyping. #464 should basically provide the infrastructure for this. Still in early phase but seems to be working |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle stale |
#548 allows the usage of |
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 |
The Kubernetes project currently lacks enough active 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 rotten |
/remove-lifecycle rotten |
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 |
The Kubernetes project currently lacks enough active 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 rotten |
Closing this as implemented as we now have the new expression based labeling rules (deployed via |
@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:
The ability to aggregate a number of individual feature labels into a single profile. This profile can itself be represented as a feature label.
For example, a profile should contain a list of individual features across any/all sources (cpu, pci, kernel etc). Any node on which all of these features are detected should be given an additional label (representing the name of the profile).
Expanding on this, some features in the profile may not require an exact match, but instead are satisfied by another variation(s) of the feature.
Existing feature discovery and existing feature labels are unchanged by this enhancement.
One possible implementation is to extend the existing config to include a "profile" source. Here the user defines their profile name and the list of features the profile comprises.
After feature discovery is complete across all sources, the profile is compared against the list of features already discovered. Should the discovered features match those of the profile, an additional "profile" label is added to the label list before it is returned to nfd-master for node labelling.
Implementation can be seen here: nolancon@4b04d27
Why is this needed:
This feature would reduce the laundry list of individual features listed in a pod spec for scheduling purposes. Instead of specifying each feature, application developers can add a single profile label.
The text was updated successfully, but these errors were encountered: