GithubHelp home page GithubHelp logo

Comments (5)

ylhsiehitri avatar ylhsiehitri commented on August 22, 2024

It seems I misunderstood... According to the section 2 in installation guide [1], it means to add those things in 2.1 and 2.2 to the default kube-scheduler and replace the default kube-scheduler, right?

If yes, I tried to modify /etc/kubernetes/manifests/kube-scheduler.yaml (then "$kubectl get po -n kube-system" will see the pod "kube-scheduler-leadtek-gs4820" restarts. Here "leadtek-gs4820" is the node name), but then I examine the running config (by "kubectl edit po -n kube-system kube-scheduler-leadtek-gs4820"), there's no update.

[1] https://github.com/AliyunContainerService/gpushare-scheduler-extender/blob/master/docs/install.md

from gpushare-scheduler-extender.

Vae1997 avatar Vae1997 commented on August 22, 2024

Hello, it is indeed to modify the default kube-scheduler file, but I deployed the GPU shared pod after the configuration is completed, found no effect, then I tried to restart the machine, to achieve the desired effect

from gpushare-scheduler-extender.

ide8 avatar ide8 commented on August 22, 2024

@Vae1997 , why can't we create one more scheduler instead of modifying the default one?

from gpushare-scheduler-extender.

Vae1997 avatar Vae1997 commented on August 22, 2024

@ide8
Hello, I am just a beginner, the specific principle is not very clear, so I can only say my thoughts:

If you modify the default scheduler, k8s should be re-introduced by internal related mechanisms without affecting the overall environment of the cluster. Deploy the modified scheduler so that your changes take effect.

Conversely, if you deploy a scheduler yourself, you may conflict with the default scheduling mechanism. On the other hand, your changes will not take effect. The worst case is that the original scheduling mechanism of the cluster will not work.

Of course, there should be a way to delete the default scheduler and redeploy as needed. It should be the same as when building a cluster with binary files. (But I haven't tried to build a k8s cluster from a binary file. It's not clear if this operation will affect the existing cluster.)

from gpushare-scheduler-extender.

ylhsiehitri avatar ylhsiehitri commented on August 22, 2024

Hello, it is indeed to modify the default kube-scheduler file, but I deployed the GPU shared pod after the configuration is completed, found no effect, then I tried to restart the machine, to achieve the desired effect

Similarly to @Vae1997 that restarting the machine, for some reason I happened to re-install OS, then the problem just disappeared...

from gpushare-scheduler-extender.

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.