Code Monkey home page Code Monkey logo

Comments (6)

marquiz avatar marquiz commented on May 27, 2024

@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.

balajismaniam avatar balajismaniam commented on May 27, 2024

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.

marquiz avatar marquiz commented on May 27, 2024

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.

lmdaly avatar lmdaly commented on May 27, 2024

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.

marquiz avatar marquiz commented on May 27, 2024

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.

marquiz avatar marquiz commented on May 27, 2024

Closing this as "not to be implemented"

from node-feature-discovery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.