Giter VIP home page Giter VIP logo

Comments (5)

nokia-t1zhou avatar nokia-t1zhou commented on August 15, 2024 1

@przemeklal got it, it's clear now, thank you very much!

from cpu-manager-for-kubernetes.

lmdaly avatar lmdaly commented on August 15, 2024

Thanks for raising this issue! As you correctly pointed out, the admission hook is not adding the necessary mounts etc. to the init containers and just looks at the containers.

We will add this as an issue to solve in our backlog!

If you have a pressing need to use init containers with CMK you could manually add in the necessary details to the init container for now.

from cpu-manager-for-kubernetes.

nokia-t1zhou avatar nokia-t1zhou commented on August 15, 2024

thank you for your response, We are very much looking forward to the introduction of this new feature.
at this moment, could you show us the detail about which filed and what information is necessary for CMK that can add to deployment YAML file? any guide document for it?

from cpu-manager-for-kubernetes.

przemeklal avatar przemeklal commented on August 15, 2024

Hi @nokia-t1zhou, the bare minimum example is available here (except for the service account).

You're going to need 3 volumes/volume mounts - CMK conf dir, CMK bin dir and /proc fs mounted from the host - and the env variable pointing to the mounted host /proc fs. You can also request CMK exclusive core resources if you plan to use the exclusive pool.

from cpu-manager-for-kubernetes.

lmdaly avatar lmdaly commented on August 15, 2024

@nokia-t1zhou fixed and merged

from cpu-manager-for-kubernetes.

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.