Comments (6)
@lmdaly: could you elaborate on the details and use case of this. Based on the discussion in SIG-node meeting yesterday, I feel that I've not completely/correctly understood the request.
I have a prototype implementation. However, that detects the "thermal specification power" (i.e. "nominal TDP") from msr 0x614, which is fixed value and determined by the (cpu) package specification. This is probably not what you want. Are "package power limit" settings the information you'd like to have, or something else?
from node-feature-discovery.
What is the use case for this?
Power limits can be configured by anyone with root access to the host. I don't think we should publish numbers
as values for labels. It will be a UX issue to use label selectors as they don't support relational operations.
from node-feature-discovery.
Yeah, I think I agree with @balajismaniam here. I'm probably not that concerned about the tampering of power limits (as NFD will update the labels, if run as a DaemonSet), but, merely about the usefulness of the (numerical) label. In general, it might cause more harm than good because of the limitations of label selectors.
If this information really is needed, the solution could be user-specific custom feature source(?)
from node-feature-discovery.
I agree here that this feature may not be suitable for upstream K8s due to it's variable nature based on different processes. +1 for custom feature source/pluggable label
from node-feature-discovery.
It will be a UX issue to use label selectors as they don't support relational operations.
I just realized that relational operations (Lt
and Gt
) actually ARE supported, when using nodeAffinity (instead of nodeSelector)
from node-feature-discovery.
Closing this as "not to be implemented"
from node-feature-discovery.
Related Issues (20)
- Document NFD in k/k HOT 5
- Release v0.16 HOT 4
- 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 5
- 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.