Giter Site home page Giter Site logo

Comments (5)

pokerfaceSad avatar pokerfaceSad commented on September 25, 2024

But refer to k8s-device-plugin and gpu-manager.

https://github.com/NVIDIA/k8s-device-plugin/blob/e8de9ba1bf030a8a385250755d23b6ca93b3a587/go.mod#L35

https://github.com/tkestack/gpu-manager/blob/15b913864e4d24a5a5180da3aa3875acac70801c/go.mod#L34

Import from k8s.io/kubelet will be more graceful.

from gpumounter.

pokerfaceSad avatar pokerfaceSad commented on September 25, 2024

Thx for help from smart @InfluencerNGZK 👍👍👍

from gpumounter.

InfluencerNGZK avatar InfluencerNGZK commented on September 25, 2024

Yeah, dependencies really matter in writing Golang codes. I think everyone who wants to manage their dependencies in a graceful way should read the instructions below first.
https://github.com/kubernetes/client-go/blob/master/INSTALL.md#dependency-management-for-the-serious-or-reluctant-user

from gpumounter.

InfluencerNGZK avatar InfluencerNGZK commented on September 25, 2024

Thx for help from smart @InfluencerNGZK 👍👍👍

My pleasure bro :)

from gpumounter.

pokerfaceSad avatar pokerfaceSad commented on September 25, 2024

KubeletPodResources api was move into kubelet staging repo in this commit kubernetes/kubelet@86eb171#diff-56d5ab786db1c40992aafb5f4b6218ab4633eece4e557cb04b40526099afa3cc

So we can import KubeletPodResources api from kubelet staging repo only if k8s ≥ 1.20 😑😑😑

from gpumounter.

Related Issues (15)

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.