Comments (12)
A RFC implementation for the non-binary case is found here:
https://github.com/marquiz/node-feature-discovery/tree/feature/kconfig
from node-feature-discovery.
'm' in binary scenario should be treated same as 'y', as this functionality is available in the kernel.
I would suggest to represent it in two variants:
- if 'y' or 'm' -> true, if 'n' -> false
- for config options that are not toggle (yes/module/no), to have sanitation and then use value as is. E.g. we need to check that label's value is value acceptable by k8s API for node selection purposes (no spaces, does not have special characters etc. In k8s APIs it should be validator function for that).
from node-feature-discovery.
This would probably make sense (i.e. mark '=y' and '=m' as true and copy other values as is).
This would make it even possible to implement this in two phases:
- only support binary labels, check for '=y' and '=m', ignore other values
- support all kconfig flags
from node-feature-discovery.
PR #146 implements part 1., i.e. support for binary values
from node-feature-discovery.
An implementation of part 2., based on #146 found here:
https://github.com/marquiz/node-feature-discovery/tree/feature/kconfig-all
from node-feature-discovery.
[ I made a similar comment in #140 ]
I just started to think if it would be better to use dot (.
) character instead of dash (-
) in the label name to separate config option name from the label prefix?? I.e. something like
nfd-kernel-config.NO_HZ
nfd-kernel-config.NO_HZ_IDLE
Any thoughts?
from node-feature-discovery.
Support for binary labels merged into master in #146
from node-feature-discovery.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
from node-feature-discovery.
#197 is still open
/remove-lifecycle stale
from node-feature-discovery.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
from node-feature-discovery.
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
from node-feature-discovery.
Closing this one-. #197 was merged already a while ago
from node-feature-discovery.
Related Issues (20)
- Document NFD in k/k HOT 5
- Release v0.16 HOT 3
- Discussion: moving source logic into separate module HOT 5
- Swap support HOT 7
- Improve nfd-gc on NodeResourceTopology objects HOT 1
- In the Helm chart, add in a way to customize the Issuer used for the NFD certs
- feature request: socket topology HOT 4
- NodeFeature resource is namespaced - undefined behaviour if same node in multiple namespaces? HOT 4
- hooks does not work as expect HOT 2
- Release v0.15.2 HOT 5
- NFD Master memory leak HOT 10
- Specify resource limits (and requests) in NFD deployment files HOT 3
- Release v0.14.5 HOT 6
- Release v0.15.3 HOT 7
- additional dmi attributes / annotations HOT 2
- Install CRDs from a subchart instead of using Helm 3 crds directory
- Make `interval` property in PodMonitor configurable HOT 1
- Node Feature Discovery Master random crashes HOT 10
- Release v0.14.6 HOT 2
- Release v0.15.4 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-feature-discovery.